#420A45#420A45

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

Color values

HEX#420A45
RGBrgb(66, 10, 69)
HSLhsl(297, 75%, 15%)
HSVhsv(297, 86%, 27%)
CMYKcmyk(4.3%, 85.5%, 0%, 72.9%)
CIE-LABlab(14.43, 34.06, -22.77)
CIE-LCHlch(14.43, 40.97, 326.23°)
OKLaboklab(27.73% 0.0933 -0.0634)
OKLCHoklch(27.73% 0.113 325.8)
XYZxyz(3.4294, 1.8052, 5.7969)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A45 #0D450A
analogous
#240A45 #420A45 #450A2A
triadic
#420A45 #45420A #0A4542
tetradic
#420A45 #45240A #0D450A #0A2A45
square
#420A45 #45240A #0D450A #0A2A45
split-complementary
#420A45 #2A450A #0A4524
monochromatic
#1A041B #1A041B #420A45 #75127A #A819B0

Accessibility & contrast

On white

15.43
#420A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A45
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A45#FFFFFF#000000##FFFFFF
##420A451.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#441527
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420a45;
/* rgb */ color: rgb(66, 10, 69);
/* oklch */ color: oklch(27.7% 0.113 325.8);
Tailwind
colors: {
  custom: {
    50: '#795179',
    500: '#420a45',
    950: '#000000',
  },
}
SCSS
$custom: #420a45;
$custom-light: #795179;
$custom-dark: #000000;
JSON
{
  "hex": "#420a45",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 296.949,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27725,
    "c": 0.11279,
    "h": 325.8
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#420A45
secondary
#2D8229
accent
#F13640
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420A45

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

Preview Lab → · Contrast checker → · Palette generator →

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