#420F4E#420F4E

#420F4E is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.115 H 319.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#420F4E
RGBrgb(66, 15, 78)
HSLhsl(289, 68%, 18%)
HSVhsv(289, 81%, 31%)
CMYKcmyk(15.4%, 80.8%, 0%, 69.4%)
CIE-LABlab(15.75, 34.01, -26.89)
CIE-LCHlch(15.75, 43.36, 321.67°)
OKLaboklab(28.87% 0.0873 -0.0754)
OKLCHoklch(28.87% 0.115 319.2)
XYZxyz(3.7926, 2.0501, 7.4022)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F4E #1B4E0F
analogous
#220F4E #420F4E #4E0F3A
triadic
#420F4E #4E420F #0F4E42
tetradic
#420F4E #4E220F #1B4E0F #0F3A4E
square
#420F4E #4E220F #1B4E0F #0F3A4E
split-complementary
#420F4E #3A4E0F #0F4E22
monochromatic
#16051A #17051B #420F4E #6D1981 #9923B5

Accessibility & contrast

On white

14.89
#420F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F4E
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F4E#FFFFFF#000000##FFFFFF
##420F4E1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#421C2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #420f4e;
/* rgb */ color: rgb(66, 15, 78);
/* oklch */ color: oklch(28.9% 0.115 319.2);
Tailwind
colors: {
  custom: {
    50: '#795380',
    500: '#420f4e',
    950: '#000000',
  },
}
SCSS
$custom: #420f4e;
$custom-light: #795380;
$custom-dark: #000000;
JSON
{
  "hex": "#420f4e",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 288.571,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2887,
    "c": 0.11539,
    "h": 319.2
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#420F4E
secondary
#418831
accent
#EB3D5E
background
#F7F5F7
surface
#EEE8EE
border
#C9C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #420F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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