#420F46#420F46

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

Color values

HEX#420F46
RGBrgb(66, 15, 70)
HSLhsl(296, 65%, 17%)
HSVhsv(296, 79%, 27%)
CMYKcmyk(5.7%, 78.6%, 0%, 72.5%)
CIE-LABlab(15.18, 32.31, -22.27)
CIE-LCHlch(15.18, 39.24, 325.42°)
OKLaboklab(28.28% 0.0878 -0.062)
OKLCHoklch(28.28% 0.108 324.8)
XYZxyz(3.5230, 1.9423, 5.9825)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F46 #13460F
analogous
#270F46 #420F46 #460F2F
triadic
#420F46 #46420F #0F4642
tetradic
#420F46 #46270F #13460F #0F2F46
square
#420F46 #46270F #13460F #0F2F46
split-complementary
#420F46 #2F460F #0F4627
monochromatic
#180519 #180519 #420F46 #721A78 #A125AB

Accessibility & contrast

On white

15.13
#420F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F46
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F46#FFFFFF#000000##FFFFFF
##420F461.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032248
Deuteranopia (green-blind)
#1A2845
Tritanopia (blue-blind)
#441829
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #420f46;
/* rgb */ color: rgb(66, 15, 70);
/* oklch */ color: oklch(28.3% 0.107 324.8);
Tailwind
colors: {
  custom: {
    50: '#79537a',
    500: '#420f46',
    950: '#000000',
  },
}
SCSS
$custom: #420f46;
$custom-light: #79537a;
$custom-dark: #000000;
JSON
{
  "hex": "#420f46",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 295.636,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28284,
    "c": 0.1075,
    "h": 324.8
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#420F46
secondary
#368030
accent
#E8404C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090309
muted
#7B787B

Preview Lab

Preview with #420F46

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

Preview Lab → · Contrast checker → · Palette generator →

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