#3F123E#3F123E

#3F123E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.093 H 328.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3F123E
RGBrgb(63, 18, 62)
HSLhsl(301, 56%, 16%)
HSVhsv(301, 71%, 25%)
CMYKcmyk(0%, 71.4%, 1.6%, 75.3%)
CIE-LABlab(14.61, 28.42, -17.61)
CIE-LCHlch(14.61, 33.44, 328.22°)
OKLaboklab(27.6% 0.0797 -0.0486)
OKLCHoklch(27.6% 0.093 328.6)
XYZxyz(3.1357, 1.8374, 4.7460)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F123E #123F13
analogous
#29123F #3F123E #3F1227
triadic
#3F123E #3E3F12 #123E3F
tetradic
#3F123E #3F2912 #123F13 #12273F
square
#3F123E #3F2912 #123F13 #12273F
split-complementary
#3F123E #273F12 #123F29
monochromatic
#180717 #180717 #3F123E #6F206D #9E2D9C

Accessibility & contrast

On white

15.36
#3F123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3F123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F123E
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F123E#FFFFFF#000000##FFFFFF
##3F123E1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#411726
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3f123e;
/* rgb */ color: rgb(63, 18, 62);
/* oklch */ color: oklch(27.6% 0.093 328.6);
Tailwind
colors: {
  custom: {
    50: '#765473',
    500: '#3f123e',
    950: '#000000',
  },
}
SCSS
$custom: #3f123e;
$custom-light: #765473;
$custom-dark: #000000;
JSON
{
  "hex": "#3f123e",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 301.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27595,
    "c": 0.09331,
    "h": 328.6
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#3F123E
secondary
#357836
accent
#DF4C49
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #3F123E

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

Preview Lab → · Contrast checker → · Palette generator →

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