#420F48#420F48

#420F48 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.109 H 323.3°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#420F48
RGBrgb(66, 15, 72)
HSLhsl(294, 66%, 17%)
HSVhsv(294, 79%, 28%)
CMYKcmyk(8.3%, 79.2%, 0%, 71.8%)
CIE-LABlab(15.32, 32.72, -23.44)
CIE-LCHlch(15.32, 40.25, 324.38°)
OKLaboklab(28.43% 0.0878 -0.0654)
OKLCHoklch(28.43% 0.109 323.3)
XYZxyz(3.5872, 1.9680, 6.3206)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F48 #15480F
analogous
#260F48 #420F48 #480F32
triadic
#420F48 #48420F #0F4842
tetradic
#420F48 #48260F #15480F #0F3248
square
#420F48 #48260F #15480F #0F3248
split-complementary
#420F48 #32480F #0F4826
monochromatic
#170519 #170519 #420F48 #701A7B #9F24AD

Accessibility & contrast

On white

15.07
#420F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#420F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F48
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F48#FFFFFF#000000##FFFFFF
##420F481.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234A
Deuteranopia (green-blind)
#182847
Tritanopia (blue-blind)
#43192A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420f48;
/* rgb */ color: rgb(66, 15, 72);
/* oklch */ color: oklch(28.4% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#79537b',
    500: '#420f48',
    950: '#000000',
  },
}
SCSS
$custom: #420f48;
$custom-light: #79537b;
$custom-dark: #000000;
JSON
{
  "hex": "#420f48",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 293.684,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28425,
    "c": 0.10944,
    "h": 323.3
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#420F48
secondary
#398230
accent
#E83F51
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #420F48

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

Preview Lab → · Contrast checker → · Palette generator →

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