#3E224B#3E224B

#3E224B is a dark, moderate purple. Relative luminance 0.027; OKLCH L 30.8% C 0.078 H 314.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#3E224B
RGBrgb(62, 34, 75)
HSLhsl(281, 38%, 21%)
HSVhsv(281, 55%, 29%)
CMYKcmyk(17.3%, 54.7%, 0%, 70.6%)
CIE-LABlab(18.70, 21.83, -20.18)
CIE-LCHlch(18.70, 29.73, 317.25°)
OKLaboklab(30.82% 0.0545 -0.0562)
OKLCHoklch(30.82% 0.078 314.2)
XYZxyz(3.8284, 2.6763, 6.9701)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E224B #2F4B22
analogous
#2A224B #3E224B #4B2244
triadic
#3E224B #4B3E22 #224B3E
tetradic
#3E224B #4B2A22 #2F4B22 #22444B
square
#3E224B #4B2A22 #2F4B22 #22444B
split-complementary
#3E224B #444B22 #224B2A
monochromatic
#110A15 #1B0F21 #3E224B #613575 #84489F

Accessibility & contrast

On white

13.68
#3E224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3E224B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E224B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E224B#FFFFFF#000000##FFFFFF
##3E224B1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4C
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#3D2833
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e224b;
/* rgb */ color: rgb(62, 34, 75);
/* oklch */ color: oklch(30.8% 0.078 314.2);
Tailwind
colors: {
  custom: {
    50: '#745e7d',
    500: '#3e224b',
    950: '#000000',
  },
}
SCSS
$custom: #3e224b;
$custom-light: #745e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e224b",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 280.976,
    "s": 37.615,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30817,
    "c": 0.07829,
    "h": 314.2
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#3E224B
secondary
#5B7F4A
accent
#CE5A7F
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080409
muted
#7B797B

Preview Lab

Preview with #3E224B

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

Preview Lab → · Contrast checker → · Palette generator →

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