#420F45#420F45

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

Color values

HEX#420F45
RGBrgb(66, 15, 69)
HSLhsl(297, 64%, 16%)
HSVhsv(297, 78%, 27%)
CMYKcmyk(4.3%, 78.3%, 0%, 72.9%)
CIE-LABlab(15.11, 32.10, -21.68)
CIE-LCHlch(15.11, 38.74, 325.96°)
OKLaboklab(28.21% 0.0879 -0.0602)
OKLCHoklch(28.21% 0.107 325.6)
XYZxyz(3.4917, 1.9298, 5.8176)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F45 #12450F
analogous
#270F45 #420F45 #450F2D
triadic
#420F45 #45420F #0F4542
tetradic
#420F45 #45270F #12450F #0F2D45
square
#420F45 #45270F #12450F #0F2D45
split-complementary
#420F45 #2D450F #0F4527
monochromatic
#180519 #180519 #420F45 #721A77 #A225AA

Accessibility & contrast

On white

15.15
#420F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F45
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F45#FFFFFF#000000##FFFFFF
##420F451.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420f45;
/* rgb */ color: rgb(66, 15, 69);
/* oklch */ color: oklch(28.2% 0.107 325.6);
Tailwind
colors: {
  custom: {
    50: '#795379',
    500: '#420f45',
    950: '#000000',
  },
}
SCSS
$custom: #420f45;
$custom-light: #795379;
$custom-dark: #000000;
JSON
{
  "hex": "#420f45",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 296.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28214,
    "c": 0.10653,
    "h": 325.6
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#420F45
secondary
#357F30
accent
#E7414A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #420F45

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

Preview Lab → · Contrast checker → · Palette generator →

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