#420F60#420F60

#420F60 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.134 H 308.8°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#420F60
RGBrgb(66, 15, 96)
HSLhsl(278, 73%, 22%)
HSVhsv(278, 84%, 38%)
CMYKcmyk(31.3%, 84.4%, 0%, 62.4%)
CIE-LABlab(17.20, 38.16, -36.68)
CIE-LCHlch(17.20, 52.93, 316.13°)
OKLaboklab(30.35% 0.0839 -0.1042)
OKLCHoklch(30.35% 0.134 308.8)
XYZxyz(4.5285, 2.3445, 11.2780)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F60 #2D600F
analogous
#1A0F60 #420F60 #600F56
triadic
#420F60 #60420F #0F6042
tetradic
#420F60 #601A0F #2D600F #0F5660
square
#420F60 #601A0F #2D600F #0F5660
split-complementary
#420F60 #56600F #0F601A
monochromatic
#12041A #1E072B #420F60 #661795 #8B20CA

Accessibility & contrast

On white

14.30
#420F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F60
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F60#FFFFFF#000000##FFFFFF
##420F601.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#3D2438
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #420f60;
/* rgb */ color: rgb(66, 15, 96);
/* oklch */ color: oklch(30.4% 0.134 308.8);
Tailwind
colors: {
  custom: {
    50: '#7a558e',
    500: '#420f60',
    950: '#000000',
  },
}
SCSS
$custom: #420f60;
$custom-light: #7a558e;
$custom-dark: #000000;
JSON
{
  "hex": "#420f60",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 277.778,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30352,
    "c": 0.13377,
    "h": 308.8
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#420F60
secondary
#589932
accent
#F0387C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #420F60

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

Preview Lab → · Contrast checker → · Palette generator →

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