#3F2F93#3F2F93

#3F2F93 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.156 H 283.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3F2F93
RGBrgb(63, 47, 147)
HSLhsl(250, 52%, 38%)
HSVhsv(250, 68%, 58%)
CMYKcmyk(57.1%, 68%, 0%, 42.4%)
CIE-LABlab(27.29, 35.53, -52.80)
CIE-LCHlch(27.29, 63.64, 303.94°)
OKLaboklab(38.83% 0.037 -0.1518)
OKLCHoklch(38.83% 0.156 283.7)
XYZxyz(8.3313, 5.1959, 28.1620)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F93 #83932F
analogous
#2F5193 #3F2F93 #712F93
triadic
#3F2F93 #933F2F #2F933F
tetradic
#3F2F93 #932F51 #83932F #2F9371
square
#3F2F93 #932F51 #83932F #2F9371
split-complementary
#3F2F93 #93712F #51932F
monochromatic
#171136 #2B2065 #3F2F93 #533EC1 #7C6CD0

Accessibility & contrast

On white

10.30
#3F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F93
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F93#FFFFFF#000000##FFFFFF
##3F2F931.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#16485D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2f93;
/* rgb */ color: rgb(63, 47, 147);
/* oklch */ color: oklch(38.8% 0.156 283.7);
Tailwind
colors: {
  custom: {
    50: '#7d69b4',
    500: '#3f2f93',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f93;
$custom-light: #7d69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f93",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 249.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.15625,
    "h": 283.7
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#3F2F93
secondary
#AAB766
accent
#DB4DC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2F93

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3F2F93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva