#3F153B#3F153B

#3F153B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.085 H 331.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3F153B
RGBrgb(63, 21, 59)
HSLhsl(306, 50%, 16%)
HSVhsv(306, 67%, 25%)
CMYKcmyk(0%, 66.7%, 6.3%, 75.3%)
CIE-LABlab(15.00, 26.25, -14.87)
CIE-LCHlch(15.00, 30.17, 330.46°)
OKLaboklab(27.83% 0.0748 -0.0407)
OKLCHoklch(27.83% 0.085 331.5)
XYZxyz(3.1075, 1.9091, 4.3416)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F153B #153F19
analogous
#2E153F #3F153B #3F1526
triadic
#3F153B #3B3F15 #153B3F
tetradic
#3F153B #3F2E15 #153F19 #15263F
square
#3F153B #3F2E15 #153F19 #15263F
split-complementary
#3F153B #263F15 #153F2E
monochromatic
#170815 #170815 #3F153B #6D2466 #9B3491

Accessibility & contrast

On white

15.20
#3F153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F153B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F153B#FFFFFF#000000##FFFFFF
##3F153B1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#20283A
Tritanopia (blue-blind)
#421925
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f153b;
/* rgb */ color: rgb(63, 21, 59);
/* oklch */ color: oklch(27.8% 0.085 331.5);
Tailwind
colors: {
  custom: {
    50: '#765571',
    500: '#3f153b',
    950: '#000000',
  },
}
SCSS
$custom: #3f153b;
$custom-light: #765571;
$custom-dark: #000000;
JSON
{
  "hex": "#3f153b",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 305.714,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27825,
    "c": 0.08519,
    "h": 331.5
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#3F153B
secondary
#39773F
accent
#DA5C4E
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3F153B

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

Preview Lab → · Contrast checker → · Palette generator →

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