#420E66#420E66

#420E66 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.141 H 306.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#420E66
RGBrgb(66, 14, 102)
HSLhsl(275, 76%, 23%)
HSVhsv(275, 86%, 40%)
CMYKcmyk(35.3%, 86.3%, 0%, 60%)
CIE-LABlab(17.61, 39.98, -39.99)
CIE-LCHlch(17.61, 56.55, 314.99°)
OKLaboklab(30.8% 0.083 -0.1139)
OKLCHoklch(30.8% 0.141 306.1)
XYZxyz(4.8015, 2.4317, 12.7842)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E66 #32660E
analogous
#160E66 #420E66 #660E5E
triadic
#420E66 #66420E #0E6642
tetradic
#420E66 #66160E #32660E #0E5E66
square
#420E66 #66160E #32660E #0E5E66
split-complementary
#420E66 #5E660E #0E6616
monochromatic
#11041B #1F0730 #420E66 #65159C #881DD2

Accessibility & contrast

On white

14.13
#420E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#420E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E66
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E66#FFFFFF#000000##FFFFFF
##420E661.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#3B263B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #420e66;
/* rgb */ color: rgb(66, 14, 102);
/* oklch */ color: oklch(30.8% 0.141 306.1);
Tailwind
colors: {
  custom: {
    50: '#7b5592',
    500: '#420e66',
    950: '#000000',
  },
}
SCSS
$custom: #420e66;
$custom-light: #7b5592;
$custom-dark: #000000;
JSON
{
  "hex": "#420e66",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 102
  },
  "hsl": {
    "h": 275.455,
    "s": 75.862,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30802,
    "c": 0.14093,
    "h": 306.1
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#420E66
secondary
#5E9F31
accent
#F23583
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420E66

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

Preview Lab → · Contrast checker → · Palette generator →

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