#420E63#420E63

#420E63 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.138 H 307.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#420E63
RGBrgb(66, 14, 99)
HSLhsl(277, 75%, 22%)
HSVhsv(277, 86%, 39%)
CMYKcmyk(33.3%, 85.9%, 0%, 61.2%)
CIE-LABlab(17.34, 39.26, -38.45)
CIE-LCHlch(17.34, 54.95, 315.59°)
OKLaboklab(30.53% 0.0839 -0.1094)
OKLCHoklch(30.53% 0.138 307.5)
XYZxyz(4.6555, 2.3732, 12.0148)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E63 #2F630E
analogous
#180E63 #420E63 #630E5A
triadic
#420E63 #63420E #0E6342
tetradic
#420E63 #63180E #2F630E #0E5A63
square
#420E63 #63180E #2F630E #0E5A63
split-complementary
#420E63 #5A630E #0E6318
monochromatic
#12041B #1E062D #420E63 #661699 #891DCE

Accessibility & contrast

On white

14.24
#420E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#420E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E63
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E63#FFFFFF#000000##FFFFFF
##420E631.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#3C2539
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #420e63;
/* rgb */ color: rgb(66, 14, 99);
/* oklch */ color: oklch(30.5% 0.138 307.5);
Tailwind
colors: {
  custom: {
    50: '#7b5490',
    500: '#420e63',
    950: '#000000',
  },
}
SCSS
$custom: #420e63;
$custom-light: #7b5490;
$custom-dark: #000000;
JSON
{
  "hex": "#420e63",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 99
  },
  "hsl": {
    "h": 276.706,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30529,
    "c": 0.13786,
    "h": 307.5
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#420E63
secondary
#5A9C30
accent
#F2367F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030D
muted
#7C787D

Preview Lab

Preview with #420E63

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

Preview Lab → · Contrast checker → · Palette generator →

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