#420F69#420F69

#420F69 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.143 H 304.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#420F69
RGBrgb(66, 15, 105)
HSLhsl(274, 75%, 24%)
HSVhsv(274, 86%, 41%)
CMYKcmyk(37.1%, 85.7%, 0%, 58.8%)
CIE-LABlab(18.01, 40.35, -41.31)
CIE-LCHlch(18.01, 57.74, 314.33°)
OKLaboklab(31.17% 0.0812 -0.1178)
OKLCHoklch(31.17% 0.143 304.6)
XYZxyz(4.9668, 2.5198, 13.5866)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F69 #36690F
analogous
#150F69 #420F69 #690F63
triadic
#420F69 #69420F #0F6942
tetradic
#420F69 #69150F #36690F #0F6369
square
#420F69 #69150F #36690F #0F6369
split-complementary
#420F69 #63690F #0F6915
monochromatic
#11041B #200733 #420F69 #64179F #851ED4

Accessibility & contrast

On white

13.96
#420F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F69
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F69#FFFFFF#000000##FFFFFF
##420F691.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#3A283D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #420f69;
/* rgb */ color: rgb(66, 15, 105);
/* oklch */ color: oklch(31.2% 0.143 304.6);
Tailwind
colors: {
  custom: {
    50: '#7b5595',
    500: '#420f69',
    950: '#000000',
  },
}
SCSS
$custom: #420f69;
$custom-light: #7b5595;
$custom-dark: #000000;
JSON
{
  "hex": "#420f69",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 274,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31166,
    "c": 0.14308,
    "h": 304.6
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#420F69
secondary
#62A132
accent
#F23687
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #420F69

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

Preview Lab → · Contrast checker → · Palette generator →

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