#420F67#420F67

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

Color values

HEX#420F67
RGBrgb(66, 15, 103)
HSLhsl(275, 75%, 23%)
HSVhsv(275, 85%, 40%)
CMYKcmyk(35.9%, 85.4%, 0%, 59.6%)
CIE-LABlab(17.82, 39.85, -40.29)
CIE-LCHlch(17.82, 56.67, 314.69°)
OKLaboklab(30.98% 0.0818 -0.1148)
OKLCHoklch(30.98% 0.141 305.5)
XYZxyz(4.8652, 2.4792, 13.0516)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F67 #34670F
analogous
#160F67 #420F67 #670F60
triadic
#420F67 #67420F #0F6742
tetradic
#420F67 #67160F #34670F #0F6067
square
#420F67 #67160F #34670F #0F6067
split-complementary
#420F67 #60670F #0F6716
monochromatic
#11041B #200732 #420F67 #64179C #861FD2

Accessibility & contrast

On white

14.04
#420F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F67
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F67#FFFFFF#000000##FFFFFF
##420F671.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420f67;
/* rgb */ color: rgb(66, 15, 103);
/* oklch */ color: oklch(31.0% 0.141 305.5);
Tailwind
colors: {
  custom: {
    50: '#7b5593',
    500: '#420f67',
    950: '#000000',
  },
}
SCSS
$custom: #420f67;
$custom-light: #7b5593;
$custom-dark: #000000;
JSON
{
  "hex": "#420f67",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 274.773,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.141,
    "h": 305.5
  },
  "luminance": 0.02479
}

Semantic roles & 50–950 ramp

primary
#420F67
secondary
#60A032
accent
#F13785
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420F67

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

Preview Lab → · Contrast checker → · Palette generator →

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