#3F2F99#3F2F99

#3F2F99 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.164 H 282.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3F2F99
RGBrgb(63, 47, 153)
HSLhsl(249, 53%, 39%)
HSVhsv(249, 69%, 60%)
CMYKcmyk(58.8%, 69.3%, 0%, 40%)
CIE-LABlab(27.82, 37.46, -55.61)
CIE-LCHlch(27.82, 67.05, 303.96°)
OKLaboklab(39.38% 0.0361 -0.1601)
OKLCHoklch(39.38% 0.164 282.7)
XYZxyz(8.8144, 5.3891, 30.7065)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F99 #89992F
analogous
#2F5499 #3F2F99 #742F99
triadic
#3F2F99 #993F2F #2F993F
tetradic
#3F2F99 #992F54 #89992F #2F9974
square
#3F2F99 #992F54 #89992F #2F9974
split-complementary
#3F2F99 #99742F #54992F
monochromatic
#18123B #2C216A #3F2F99 #5541C5 #7E6FD3

Accessibility & contrast

On white

10.11
#3F2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F99
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F99#FFFFFF#000000##FFFFFF
##3F2F991.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#0B4B60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2f99;
/* rgb */ color: rgb(63, 47, 153);
/* oklch */ color: oklch(39.4% 0.164 282.7);
Tailwind
colors: {
  custom: {
    50: '#7e69b8',
    500: '#3f2f99',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f99;
$custom-light: #7e69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f99",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 249.057,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.16409,
    "h": 282.7
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#3F2F99
secondary
#AEBA69
accent
#DC4BC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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