#420E6A#420E6A

#420E6A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.145 H 304.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#420E6A
RGBrgb(66, 14, 106)
HSLhsl(274, 77%, 24%)
HSVhsv(274, 87%, 42%)
CMYKcmyk(37.7%, 86.8%, 0%, 58.4%)
CIE-LABlab(17.98, 40.95, -42.01)
CIE-LCHlch(17.98, 58.67, 314.27°)
OKLaboklab(31.17% 0.0817 -0.1199)
OKLCHoklch(31.17% 0.145 304.3)
XYZxyz(5.0047, 2.5130, 13.8543)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E6A #366A0E
analogous
#140E6A #420E6A #6A0E64
triadic
#420E6A #6A420E #0E6A42
tetradic
#420E6A #6A140E #366A0E #0E646A
square
#420E6A #6A140E #366A0E #0E646A
split-complementary
#420E6A #646A0E #0E6A14
monochromatic
#11041B #200734 #420E6A #6415A0 #851CD6

Accessibility & contrast

On white

13.98
#420E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#420E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E6A
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E6A#FFFFFF#000000##FFFFFF
##420E6A1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#3A283D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #420e6a;
/* rgb */ color: rgb(66, 14, 106);
/* oklch */ color: oklch(31.2% 0.145 304.3);
Tailwind
colors: {
  custom: {
    50: '#7b5595',
    500: '#420e6a',
    950: '#000000',
  },
}
SCSS
$custom: #420e6a;
$custom-light: #7b5595;
$custom-dark: #000000;
JSON
{
  "hex": "#420e6a",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 106
  },
  "hsl": {
    "h": 273.913,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31173,
    "c": 0.14503,
    "h": 304.3
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#420E6A
secondary
#62A331
accent
#F33587
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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