#3E123F#3E123F

#3E123F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.094 H 326.9°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#3E123F
RGBrgb(62, 18, 63)
HSLhsl(299, 56%, 16%)
HSVhsv(299, 71%, 25%)
CMYKcmyk(1.6%, 71.4%, 0%, 75.3%)
CIE-LABlab(14.49, 28.33, -18.52)
CIE-LCHlch(14.49, 33.85, 326.83°)
OKLaboklab(27.49% 0.0784 -0.0512)
OKLCHoklch(27.49% 0.094 326.9)
XYZxyz(3.1001, 1.8158, 4.8889)
Luminance0.0182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E123F #133F12
analogous
#27123F #3E123F #3F1229
triadic
#3E123F #3F3E12 #123F3E
tetradic
#3E123F #3F2712 #133F12 #12293F
square
#3E123F #3F2712 #133F12 #12293F
split-complementary
#3E123F #293F12 #123F27
monochromatic
#170718 #170718 #3E123F #6D206F #9C2D9E

Accessibility & contrast

On white

15.40
#3E123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3E123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E123F
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E123F#FFFFFF#000000##FFFFFF
##3E123F1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2140
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#401826
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e123f;
/* rgb */ color: rgb(62, 18, 63);
/* oklch */ color: oklch(27.5% 0.094 326.9);
Tailwind
colors: {
  custom: {
    50: '#755474',
    500: '#3e123f',
    950: '#000000',
  },
}
SCSS
$custom: #3e123f;
$custom-light: #755474;
$custom-dark: #000000;
JSON
{
  "hex": "#3e123f",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 298.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27492,
    "c": 0.09366,
    "h": 326.9
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#3E123F
secondary
#367835
accent
#DF494C
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E123F

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

Preview Lab → · Contrast checker → · Palette generator →

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