#3E123E#3E123E

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

Color values

HEX#3E123E
RGBrgb(62, 18, 62)
HSLhsl(300, 55%, 16%)
HSVhsv(300, 71%, 24%)
CMYKcmyk(0%, 71%, 0%, 75.7%)
CIE-LABlab(14.43, 28.12, -17.91)
CIE-LCHlch(14.43, 33.34, 327.51°)
OKLaboklab(27.43% 0.0783 -0.0494)
OKLCHoklch(27.43% 0.093 327.7)
XYZxyz(3.0724, 1.8047, 4.7430)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E123E #123E12
analogous
#28123E #3E123E #3E1228
triadic
#3E123E #3E3E12 #123E3E
tetradic
#3E123E #3E2812 #123E12 #12283E
square
#3E123E #3E2812 #123E12 #12283E
split-complementary
#3E123E #283E12 #123E28
monochromatic
#180718 #180718 #3E123E #6D206D #9D2E9D

Accessibility & contrast

On white

15.43
#3E123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E123E
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E123E#FFFFFF#000000##FFFFFF
##3E123E1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C213F
Deuteranopia (green-blind)
#1C273D
Tritanopia (blue-blind)
#401826
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e123e;
/* rgb */ color: rgb(62, 18, 62);
/* oklch */ color: oklch(27.4% 0.093 327.7);
Tailwind
colors: {
  custom: {
    50: '#755473',
    500: '#3e123e',
    950: '#000000',
  },
}
SCSS
$custom: #3e123e;
$custom-light: #755473;
$custom-dark: #000000;
JSON
{
  "hex": "#3e123e",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 300,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27427,
    "c": 0.09264,
    "h": 327.7
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#3E123E
secondary
#357735
accent
#DE4949
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E123E

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

Preview Lab → · Contrast checker → · Palette generator →

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