#3F184E#3F184E

#3F184E is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.5% C 0.101 H 315.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3F184E
RGBrgb(63, 24, 78)
HSLhsl(283, 53%, 20%)
HSVhsv(283, 69%, 31%)
CMYKcmyk(19.2%, 69.2%, 0%, 69.4%)
CIE-LABlab(16.80, 28.87, -25.24)
CIE-LCHlch(16.80, 38.34, 318.84°)
OKLaboklab(29.52% 0.0717 -0.0708)
OKLCHoklch(29.52% 0.101 315.4)
XYZxyz(3.7515, 2.2602, 7.4449)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F184E #274E18
analogous
#24184E #3F184E #4E1842
triadic
#3F184E #4E3F18 #184E3F
tetradic
#3F184E #4E2418 #274E18 #18424E
square
#3F184E #4E2418 #274E18 #18424E
split-complementary
#3F184E #424E18 #184E24
monochromatic
#130717 #190A1F #3F184E #65267D #8B35AC

Accessibility & contrast

On white

14.46
#3F184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3F184E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F184E
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F184E#FFFFFF#000000##FFFFFF
##3F184E1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052750
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#3E2230
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f184e;
/* rgb */ color: rgb(63, 24, 78);
/* oklch */ color: oklch(29.5% 0.101 315.4);
Tailwind
colors: {
  custom: {
    50: '#765880',
    500: '#3f184e',
    950: '#000000',
  },
}
SCSS
$custom: #3f184e;
$custom-light: #765880;
$custom-dark: #000000;
JSON
{
  "hex": "#3f184e",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 283.333,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29519,
    "c": 0.10074,
    "h": 315.4
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#3F184E
secondary
#51853D
accent
#DC4B74
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F184E

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

Preview Lab → · Contrast checker → · Palette generator →

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