#420E68#420E68

#420E68 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.143 H 305.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#420E68
RGBrgb(66, 14, 104)
HSLhsl(275, 76%, 23%)
HSVhsv(275, 87%, 41%)
CMYKcmyk(36.5%, 86.5%, 0%, 59.2%)
CIE-LABlab(17.79, 40.46, -41.01)
CIE-LCHlch(17.79, 57.61, 314.62°)
OKLaboklab(30.99% 0.0823 -0.1169)
OKLCHoklch(30.99% 0.143 305.2)
XYZxyz(4.9019, 2.4718, 13.3129)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E68 #34680E
analogous
#150E68 #420E68 #680E61
triadic
#420E68 #68420E #0E6842
tetradic
#420E68 #68150E #34680E #0E6168
square
#420E68 #68150E #34680E #0E6168
split-complementary
#420E68 #61680E #0E6815
monochromatic
#11041B #200732 #420E68 #64159E #861DD4

Accessibility & contrast

On white

14.05
#420E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420E68
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E68#FFFFFF#000000##FFFFFF
##420E681.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#3B273C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #420e68;
/* rgb */ color: rgb(66, 14, 104);
/* oklch */ color: oklch(31.0% 0.143 305.2);
Tailwind
colors: {
  custom: {
    50: '#7b5594',
    500: '#420e68',
    950: '#000000',
  },
}
SCSS
$custom: #420e68;
$custom-light: #7b5594;
$custom-dark: #000000;
JSON
{
  "hex": "#420e68",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 104
  },
  "hsl": {
    "h": 274.667,
    "s": 76.271,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30987,
    "c": 0.14298,
    "h": 305.2
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#420E68
secondary
#60A131
accent
#F33585
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420E68

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

Preview Lab → · Contrast checker → · Palette generator →

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