#3E123D#3E123D

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

Color values

HEX#3E123D
RGBrgb(62, 18, 61)
HSLhsl(301, 55%, 16%)
HSVhsv(301, 71%, 24%)
CMYKcmyk(0%, 71%, 1.6%, 75.7%)
CIE-LABlab(14.37, 27.92, -17.30)
CIE-LCHlch(14.37, 32.84, 328.21°)
OKLaboklab(27.36% 0.0783 -0.0477)
OKLCHoklch(27.36% 0.092 328.6)
XYZxyz(3.0452, 1.7939, 4.5998)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E123D #123E13
analogous
#29123E #3E123D #3E1227
triadic
#3E123D #3D3E12 #123D3E
tetradic
#3E123D #3E2912 #123E13 #12273E
square
#3E123D #3E2912 #123E13 #12273E
split-complementary
#3E123D #273E12 #123E29
monochromatic
#180717 #180717 #3E123D #6D206C #9D2E9A

Accessibility & contrast

On white

15.45
#3E123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E123D
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E123D#FFFFFF#000000##FFFFFF
##3E123D1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213E
Deuteranopia (green-blind)
#1D263C
Tritanopia (blue-blind)
#401725
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e123d;
/* rgb */ color: rgb(62, 18, 61);
/* oklch */ color: oklch(27.4% 0.092 328.6);
Tailwind
colors: {
  custom: {
    50: '#755472',
    500: '#3e123d',
    950: '#000000',
  },
}
SCSS
$custom: #3e123d;
$custom-light: #755472;
$custom-dark: #000000;
JSON
{
  "hex": "#3e123d",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 301.364,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27362,
    "c": 0.09164,
    "h": 328.6
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#3E123D
secondary
#357736
accent
#DE4D49
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E123D

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

Preview Lab → · Contrast checker → · Palette generator →

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