#420F65#420F65

#420F65 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.139 H 306.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#420F65
RGBrgb(66, 15, 101)
HSLhsl(276, 74%, 23%)
HSVhsv(276, 85%, 40%)
CMYKcmyk(34.7%, 85.1%, 0%, 60.4%)
CIE-LABlab(17.64, 39.37, -39.27)
CIE-LCHlch(17.64, 55.61, 315.07°)
OKLaboklab(30.8% 0.0825 -0.1118)
OKLCHoklch(30.8% 0.139 306.4)
XYZxyz(4.7660, 2.4395, 12.5292)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F65 #32650F
analogous
#170F65 #420F65 #650F5D
triadic
#420F65 #65420F #0F6542
tetradic
#420F65 #65170F #32650F #0F5D65
square
#420F65 #65170F #32650F #0F5D65
split-complementary
#420F65 #5D650F #0F6517
monochromatic
#11041B #1F0730 #420F65 #65179A #881FD0

Accessibility & contrast

On white

14.11
#420F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#420F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F65
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F65#FFFFFF#000000##FFFFFF
##420F651.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#3C263B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #420f65;
/* rgb */ color: rgb(66, 15, 101);
/* oklch */ color: oklch(30.8% 0.139 306.4);
Tailwind
colors: {
  custom: {
    50: '#7b5592',
    500: '#420f65',
    950: '#000000',
  },
}
SCSS
$custom: #420f65;
$custom-light: #7b5592;
$custom-dark: #000000;
JSON
{
  "hex": "#420f65",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 275.581,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30799,
    "c": 0.13893,
    "h": 306.4
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#420F65
secondary
#5E9E32
accent
#F13783
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420F65

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

Preview Lab → · Contrast checker → · Palette generator →

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