#420F4D#420F4D

#420F4D is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.114 H 319.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#420F4D
RGBrgb(66, 15, 77)
HSLhsl(289, 67%, 18%)
HSVhsv(289, 81%, 30%)
CMYKcmyk(14.3%, 80.5%, 0%, 69.8%)
CIE-LABlab(15.67, 33.79, -26.32)
CIE-LCHlch(15.67, 42.83, 322.09°)
OKLaboklab(28.79% 0.0874 -0.0738)
OKLCHoklch(28.79% 0.114 319.8)
XYZxyz(3.7570, 2.0359, 7.2148)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F4D #1A4D0F
analogous
#230F4D #420F4D #4D0F39
triadic
#420F4D #4D420F #0F4D42
tetradic
#420F4D #4D230F #1A4D0F #0F394D
square
#420F4D #4D230F #1A4D0F #0F394D
split-complementary
#420F4D #394D0F #0F4D23
monochromatic
#16051A #16051A #420F4D #6E1980 #9A23B3

Accessibility & contrast

On white

14.92
#420F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#420F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F4D
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F4D#FFFFFF#000000##FFFFFF
##420F4D1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#421B2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420f4d;
/* rgb */ color: rgb(66, 15, 77);
/* oklch */ color: oklch(28.8% 0.114 319.8);
Tailwind
colors: {
  custom: {
    50: '#79537f',
    500: '#420f4d',
    950: '#000000',
  },
}
SCSS
$custom: #420f4d;
$custom-light: #79537f;
$custom-dark: #000000;
JSON
{
  "hex": "#420f4d",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 289.355,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28794,
    "c": 0.11439,
    "h": 319.8
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#420F4D
secondary
#408731
accent
#EA3E5C
background
#F7F5F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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