#420F63#420F63

#420F63 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.137 H 307.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#420F63
RGBrgb(66, 15, 99)
HSLhsl(276, 74%, 22%)
HSVhsv(276, 85%, 39%)
CMYKcmyk(33.3%, 84.8%, 0%, 61.2%)
CIE-LABlab(17.46, 38.88, -38.24)
CIE-LCHlch(17.46, 54.54, 315.47°)
OKLaboklab(30.62% 0.083 -0.1088)
OKLCHoklch(30.62% 0.137 307.3)
XYZxyz(4.6692, 2.4008, 12.0194)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F63 #30630F
analogous
#180F63 #420F63 #630F5A
triadic
#420F63 #63420F #0F6342
tetradic
#420F63 #63180F #30630F #0F5A63
square
#420F63 #63180F #30630F #0F5A63
split-complementary
#420F63 #5A630F #0F6318
monochromatic
#12041B #1F072E #420F63 #651798 #891FCD

Accessibility & contrast

On white

14.19
#420F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#420F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F63
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F63#FFFFFF#000000##FFFFFF
##420F631.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.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: #420f63;
/* rgb */ color: rgb(66, 15, 99);
/* oklch */ color: oklch(30.6% 0.137 307.3);
Tailwind
colors: {
  custom: {
    50: '#7b5590',
    500: '#420f63',
    950: '#000000',
  },
}
SCSS
$custom: #420f63;
$custom-light: #7b5590;
$custom-dark: #000000;
JSON
{
  "hex": "#420f63",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 276.429,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30618,
    "c": 0.13686,
    "h": 307.3
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#420F63
secondary
#5C9C32
accent
#F03780
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030D
muted
#7C787D

Preview Lab

Preview with #420F63

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

Preview Lab → · Contrast checker → · Palette generator →

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