#420E67#420E67

#420E67 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.142 H 305.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#420E67
RGBrgb(66, 14, 103)
HSLhsl(275, 76%, 23%)
HSVhsv(275, 86%, 40%)
CMYKcmyk(35.9%, 86.4%, 0%, 59.6%)
CIE-LABlab(17.70, 40.22, -40.50)
CIE-LCHlch(17.70, 57.08, 314.80°)
OKLaboklab(30.89% 0.0827 -0.1154)
OKLCHoklch(30.89% 0.142 305.6)
XYZxyz(4.8514, 2.4516, 13.0470)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E67 #33670E
analogous
#150E67 #420E67 #670E5F
triadic
#420E67 #67420E #0E6742
tetradic
#420E67 #67150E #33670E #0E5F67
square
#420E67 #67150E #33670E #0E5F67
split-complementary
#420E67 #5F670E #0E6715
monochromatic
#11041B #1F0731 #420E67 #65159D #871DD3

Accessibility & contrast

On white

14.09
#420E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E67
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E67#FFFFFF#000000##FFFFFF
##420E671.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#3B273C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #420e67;
/* rgb */ color: rgb(66, 14, 103);
/* oklch */ color: oklch(30.9% 0.142 305.6);
Tailwind
colors: {
  custom: {
    50: '#7b5593',
    500: '#420e67',
    950: '#000000',
  },
}
SCSS
$custom: #420e67;
$custom-light: #7b5593;
$custom-dark: #000000;
JSON
{
  "hex": "#420e67",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 103
  },
  "hsl": {
    "h": 275.056,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30894,
    "c": 0.14196,
    "h": 305.6
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#420E67
secondary
#5FA031
accent
#F33584
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420E67

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

Preview Lab → · Contrast checker → · Palette generator →

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