#420F3F#420F3F

#420F3F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.101 H 330.4°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#420F3F
RGBrgb(66, 15, 63)
HSLhsl(304, 63%, 16%)
HSVhsv(304, 77%, 26%)
CMYKcmyk(0%, 77.3%, 4.5%, 74.1%)
CIE-LABlab(14.73, 30.91, -18.09)
CIE-LCHlch(14.73, 35.81, 329.66°)
OKLaboklab(27.81% 0.0877 -0.0498)
OKLCHoklch(27.81% 0.101 330.4)
XYZxyz(3.3148, 1.8590, 4.8859)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F3F #0F4212
analogous
#2B0F42 #420F3F #420F25
triadic
#420F3F #3F420F #0F3F42
tetradic
#420F3F #422B0F #0F4212 #0F2542
square
#420F3F #422B0F #0F4212 #0F2542
split-complementary
#420F3F #25420F #0F422B
monochromatic
#190618 #190618 #420F3F #741A6F #A6269E

Accessibility & contrast

On white

15.31
#420F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#420F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F3F
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F3F#FFFFFF#000000##FFFFFF
##420F3F1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2140
Deuteranopia (green-blind)
#1E283E
Tritanopia (blue-blind)
#451525
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420f3f;
/* rgb */ color: rgb(66, 15, 63);
/* oklch */ color: oklch(27.8% 0.101 330.4);
Tailwind
colors: {
  custom: {
    50: '#795374',
    500: '#420f3f',
    950: '#000000',
  },
}
SCSS
$custom: #420f3f;
$custom-light: #795374;
$custom-dark: #000000;
JSON
{
  "hex": "#420f3f",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 303.529,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27812,
    "c": 0.10085,
    "h": 330.4
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#420F3F
secondary
#307C35
accent
#E64B42
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090308
muted
#7B787B

Preview Lab

Preview with #420F3F

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

Preview Lab → · Contrast checker → · Palette generator →

#420F3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva