#420F68#420F68

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

Color values

HEX#420F68
RGBrgb(66, 15, 104)
HSLhsl(274, 75%, 23%)
HSVhsv(274, 86%, 41%)
CMYKcmyk(36.5%, 85.6%, 0%, 59.2%)
CIE-LABlab(17.92, 40.10, -40.80)
CIE-LCHlch(17.92, 57.21, 314.50°)
OKLaboklab(31.07% 0.0815 -0.1163)
OKLCHoklch(31.07% 0.142 305)
XYZxyz(4.9157, 2.4994, 13.3175)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F68 #35680F
analogous
#150F68 #420F68 #680F61
triadic
#420F68 #68420F #0F6842
tetradic
#420F68 #68150F #35680F #0F6168
square
#420F68 #68150F #35680F #0F6168
split-complementary
#420F68 #61680F #0F6815
monochromatic
#11041B #200733 #420F68 #64179D #861ED3

Accessibility & contrast

On white

14.00
#420F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#420F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F68
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F68#FFFFFF#000000##FFFFFF
##420F681.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420f68;
/* rgb */ color: rgb(66, 15, 104);
/* oklch */ color: oklch(31.1% 0.142 305.0);
Tailwind
colors: {
  custom: {
    50: '#7b5594',
    500: '#420f68',
    950: '#000000',
  },
}
SCSS
$custom: #420f68;
$custom-light: #7b5594;
$custom-dark: #000000;
JSON
{
  "hex": "#420f68",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 274.382,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31074,
    "c": 0.14204,
    "h": 305
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#420F68
secondary
#61A132
accent
#F13686
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420F68

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

Preview Lab → · Contrast checker → · Palette generator →

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