#420346#420346

#420346 is a dark, vivid purple. Relative luminance 0.017; OKLCH L 27.2% C 0.122 H 325.4°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#420346
RGBrgb(66, 3, 70)
HSLhsl(296, 92%, 14%)
HSVhsv(296, 96%, 27%)
CMYKcmyk(5.7%, 95.7%, 0%, 72.5%)
CIE-LABlab(13.63, 36.80, -24.76)
CIE-LCHlch(13.63, 44.36, 326.07°)
OKLaboklab(27.18% 0.1003 -0.0691)
OKLCHoklch(27.18% 0.122 325.4)
XYZxyz(3.3847, 1.6658, 5.9364)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420346 #074603
analogous
#210346 #420346 #460329
triadic
#420346 #464203 #034642
tetradic
#420346 #462103 #074603 #032946
square
#420346 #462103 #074603 #032946
split-complementary
#420346 #294603 #034621
monochromatic
#1C011D #1C011D #420346 #790681 #B108BB

Accessibility & contrast

On white

15.75
#420346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420346
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420346#FFFFFF#000000##FFFFFF
##4203461.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#142545
Tritanopia (blue-blind)
#441126
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420346;
/* rgb */ color: rgb(66, 3, 70);
/* oklch */ color: oklch(27.2% 0.122 325.4);
Tailwind
colors: {
  custom: {
    50: '#794e7a',
    500: '#420346',
    950: '#000000',
  },
}
SCSS
$custom: #420346;
$custom-light: #794e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#420346",
  "rgb": {
    "r": 66,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 296.418,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2718,
    "c": 0.12178,
    "h": 325.4
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#420346
secondary
#24871D
accent
#FF2936
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #420346

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

Preview Lab → · Contrast checker → · Palette generator →

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