#420E45#420E45

#420E45 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.108 H 325.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#420E45
RGBrgb(66, 14, 69)
HSLhsl(297, 66%, 16%)
HSVhsv(297, 80%, 27%)
CMYKcmyk(4.3%, 79.7%, 0%, 72.9%)
CIE-LABlab(14.97, 32.52, -21.92)
CIE-LCHlch(14.97, 39.22, 326.02°)
OKLaboklab(28.11% 0.089 -0.0609)
OKLCHoklch(28.11% 0.108 325.6)
XYZxyz(3.4779, 1.9022, 5.8131)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E45 #11450E
analogous
#270E45 #420E45 #450E2D
triadic
#420E45 #45420E #0E4542
tetradic
#420E45 #45270E #11450E #0E2D45
square
#420E45 #45270E #11450E #0E2D45
split-complementary
#420E45 #2D450E #0E4527
monochromatic
#180519 #180519 #420E45 #731878 #A323AB

Accessibility & contrast

On white

15.21
#420E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E45
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E45#FFFFFF#000000##FFFFFF
##420E451.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022147
Deuteranopia (green-blind)
#1A2844
Tritanopia (blue-blind)
#441728
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420e45;
/* rgb */ color: rgb(66, 14, 69);
/* oklch */ color: oklch(28.1% 0.108 325.6);
Tailwind
colors: {
  custom: {
    50: '#795379',
    500: '#420e45',
    950: '#000000',
  },
}
SCSS
$custom: #420e45;
$custom-light: #795379;
$custom-dark: #000000;
JSON
{
  "hex": "#420e45",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 296.727,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28107,
    "c": 0.10788,
    "h": 325.6
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#420E45
secondary
#33802F
accent
#E93F48
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #420E45

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

Preview Lab → · Contrast checker → · Palette generator →

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