#420846#420846

#420846 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.116 H 325.2°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#420846
RGBrgb(66, 8, 70)
HSLhsl(296, 79%, 15%)
HSVhsv(296, 89%, 27%)
CMYKcmyk(5.7%, 88.6%, 0%, 72.5%)
CIE-LABlab(14.26, 34.96, -23.75)
CIE-LCHlch(14.26, 42.27, 325.81°)
OKLaboklab(27.62% 0.0952 -0.0662)
OKLCHoklch(27.62% 0.116 325.2)
XYZxyz(3.4390, 1.7743, 5.9545)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420846 #0C4608
analogous
#230846 #420846 #46082B
triadic
#420846 #464208 #084642
tetradic
#420846 #462308 #0C4608 #082B46
square
#420846 #462308 #0C4608 #082B46
split-complementary
#420846 #2B4608 #084623
monochromatic
#1A031B #1A031B #420846 #760E7D #AA15B4

Accessibility & contrast

On white

15.50
#420846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#420846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420846
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420846#FFFFFF#000000##FFFFFF
##4208461.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#162645
Tritanopia (blue-blind)
#441427
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420846;
/* rgb */ color: rgb(66, 8, 70);
/* oklch */ color: oklch(27.6% 0.116 325.2);
Tailwind
colors: {
  custom: {
    50: '#79507a',
    500: '#420846',
    950: '#000000',
  },
}
SCSS
$custom: #420846;
$custom-light: #79507a;
$custom-dark: #000000;
JSON
{
  "hex": "#420846",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 296.129,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27624,
    "c": 0.11595,
    "h": 325.2
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#420846
secondary
#2C8426
accent
#F6323F
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420846

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

Preview Lab → · Contrast checker → · Palette generator →

#420846 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva