#420F3D#420F3D

#420F3D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.099 H 332.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#420F3D
RGBrgb(66, 15, 61)
HSLhsl(306, 63%, 16%)
HSVhsv(306, 77%, 26%)
CMYKcmyk(0%, 77.3%, 7.6%, 74.1%)
CIE-LABlab(14.61, 30.52, -16.87)
CIE-LCHlch(14.61, 34.87, 331.07°)
OKLaboklab(27.69% 0.0875 -0.0463)
OKLCHoklch(27.69% 0.099 332.1)
XYZxyz(3.2599, 1.8371, 4.5969)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F3D #0F4214
analogous
#2D0F42 #420F3D #420F23
triadic
#420F3D #3D420F #0F3D42
tetradic
#420F3D #422D0F #0F4214 #0F2342
square
#420F3D #422D0F #0F4214 #0F2342
split-complementary
#420F3D #23420F #0F422D
monochromatic
#190617 #190617 #420F3D #741A6B #A62699

Accessibility & contrast

On white

15.36
#420F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F3D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F3D#FFFFFF#000000##FFFFFF
##420F3D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203E
Deuteranopia (green-blind)
#1F273C
Tritanopia (blue-blind)
#451424
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420f3d;
/* rgb */ color: rgb(66, 15, 61);
/* oklch */ color: oklch(27.7% 0.099 332.1);
Tailwind
colors: {
  custom: {
    50: '#795372',
    500: '#420f3d',
    950: '#000000',
  },
}
SCSS
$custom: #420f3d;
$custom-light: #795372;
$custom-dark: #000000;
JSON
{
  "hex": "#420f3d",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 305.882,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27685,
    "c": 0.09903,
    "h": 332.1
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#420F3D
secondary
#307C38
accent
#E65242
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #420F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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