#420B3F#420B3F

#420B3F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.4% C 0.106 H 330.4°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#420B3F
RGBrgb(66, 11, 63)
HSLhsl(303, 71%, 15%)
HSVhsv(303, 83%, 26%)
CMYKcmyk(0%, 83.3%, 4.5%, 74.1%)
CIE-LABlab(14.15, 32.54, -19.00)
CIE-LCHlch(14.15, 37.68, 329.72°)
OKLaboklab(27.4% 0.0924 -0.0524)
OKLCHoklch(27.4% 0.106 330.4)
XYZxyz(3.2636, 1.7567, 4.8689)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420B3F #0B420E
analogous
#2A0B42 #420B3F #420B23
triadic
#420B3F #3F420B #0B3F42
tetradic
#420B3F #422A0B #0B420E #0B2342
square
#420B3F #422A0B #0B420E #0B2342
split-complementary
#420B3F #23420B #0B422A
monochromatic
#1A0419 #1A0419 #420B3F #761471 #AB1CA3

Accessibility & contrast

On white

15.54
#420B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420B3F
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420B3F#FFFFFF#000000##FFFFFF
##420B3F1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F40
Deuteranopia (green-blind)
#1C273E
Tritanopia (blue-blind)
#451224
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420b3f;
/* rgb */ color: rgb(66, 11, 63);
/* oklch */ color: oklch(27.4% 0.106 330.4);
Tailwind
colors: {
  custom: {
    50: '#795174',
    500: '#420b3f',
    950: '#000000',
  },
}
SCSS
$custom: #420b3f;
$custom-light: #795174;
$custom-dark: #000000;
JSON
{
  "hex": "#420b3f",
  "rgb": {
    "r": 66,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 303.273,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.274,
    "c": 0.10621,
    "h": 330.4
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#420B3F
secondary
#2A7F2F
accent
#EE433A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #420B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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