#420D45#420D45

#420D45 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.109 H 325.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#420D45
RGBrgb(66, 13, 69)
HSLhsl(297, 68%, 16%)
HSVhsv(297, 81%, 27%)
CMYKcmyk(4.3%, 81.2%, 0%, 72.9%)
CIE-LABlab(14.82, 32.93, -22.15)
CIE-LCHlch(14.82, 39.69, 326.08°)
OKLaboklab(28.01% 0.0902 -0.0616)
OKLCHoklch(28.01% 0.109 325.7)
XYZxyz(3.4648, 1.8760, 5.8087)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420D45 #10450D
analogous
#260D45 #420D45 #450D2C
triadic
#420D45 #45420D #0D4542
tetradic
#420D45 #45260D #10450D #0D2C45
square
#420D45 #45260D #10450D #0D2C45
split-complementary
#420D45 #2C450D #0D4526
monochromatic
#19051A #19051A #420D45 #731778 #A520AC

Accessibility & contrast

On white

15.27
#420D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#420D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420D45
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420D45#FFFFFF#000000##FFFFFF
##420D451.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012147
Deuteranopia (green-blind)
#192844
Tritanopia (blue-blind)
#441628
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #420d45;
/* rgb */ color: rgb(66, 13, 69);
/* oklch */ color: oklch(28.0% 0.109 325.7);
Tailwind
colors: {
  custom: {
    50: '#795279',
    500: '#420d45',
    950: '#000000',
  },
}
SCSS
$custom: #420d45;
$custom-light: #795279;
$custom-dark: #000000;
JSON
{
  "hex": "#420d45",
  "rgb": {
    "r": 66,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 296.786,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.10919,
    "h": 325.7
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#420D45
secondary
#32802D
accent
#EB3D46
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420D45

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

Preview Lab → · Contrast checker → · Palette generator →

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