#3E214A#3E214A

#3E214A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 30.6% C 0.079 H 315.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3E214A
RGBrgb(62, 33, 74)
HSLhsl(282, 38%, 21%)
HSVhsv(282, 55%, 29%)
CMYKcmyk(16.2%, 55.4%, 0%, 71%)
CIE-LABlab(18.39, 22.22, -19.98)
CIE-LCHlch(18.39, 29.88, 318.03°)
OKLaboklab(30.57% 0.0561 -0.0556)
OKLCHoklch(30.57% 0.079 315.2)
XYZxyz(3.7663, 2.6064, 6.7819)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E214A #2D4A21
analogous
#29214A #3E214A #4A2141
triadic
#3E214A #4A3E21 #214A3E
tetradic
#3E214A #4A2921 #2D4A21 #21414A
square
#3E214A #4A2921 #2D4A21 #21414A
split-complementary
#3E214A #414A21 #214A29
monochromatic
#120915 #1B0E20 #3E214A #613474 #85479F

Accessibility & contrast

On white

13.80
#3E214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3E214A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E214A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E214A#FFFFFF#000000##FFFFFF
##3E214A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4B
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#3D2732
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e214a;
/* rgb */ color: rgb(62, 33, 74);
/* oklch */ color: oklch(30.6% 0.079 315.2);
Tailwind
colors: {
  custom: {
    50: '#745d7c',
    500: '#3e214a',
    950: '#000000',
  },
}
SCSS
$custom: #3e214a;
$custom-light: #745d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e214a",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 282.439,
    "s": 38.318,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30572,
    "c": 0.07894,
    "h": 315.2
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#3E214A
secondary
#587E49
accent
#CE5A7C
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080409
muted
#7B797B

Preview Lab

Preview with #3E214A

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

Preview Lab → · Contrast checker → · Palette generator →

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