#420E5E#420E5E

#420E5E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.133 H 310.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#420E5E
RGBrgb(66, 14, 94)
HSLhsl(279, 74%, 21%)
HSVhsv(279, 85%, 37%)
CMYKcmyk(29.8%, 85.1%, 0%, 63.1%)
CIE-LABlab(16.90, 38.06, -35.85)
CIE-LCHlch(16.90, 52.29, 316.72°)
OKLaboklab(30.09% 0.0853 -0.1017)
OKLCHoklch(30.09% 0.133 310)
XYZxyz(4.4238, 2.2806, 10.7947)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E5E #2A5E0E
analogous
#1A0E5E #420E5E #5E0E52
triadic
#420E5E #5E420E #0E5E42
tetradic
#420E5E #5E1A0E #2A5E0E #0E525E
square
#420E5E #5E1A0E #2A5E0E #0E525E
split-complementary
#420E5E #525E0E #0E5E1A
monochromatic
#13041B #1D0629 #420E5E #671693 #8D1EC9

Accessibility & contrast

On white

14.42
#420E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#420E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E5E
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E5E#FFFFFF#000000##FFFFFF
##420E5E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#3E2236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #420e5e;
/* rgb */ color: rgb(66, 14, 94);
/* oklch */ color: oklch(30.1% 0.133 310.0);
Tailwind
colors: {
  custom: {
    50: '#7a548c',
    500: '#420e5e',
    950: '#000000',
  },
}
SCSS
$custom: #420e5e;
$custom-light: #7a548c;
$custom-dark: #000000;
JSON
{
  "hex": "#420e5e",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 94
  },
  "hsl": {
    "h": 279,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30085,
    "c": 0.13276,
    "h": 310
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#420E5E
secondary
#549830
accent
#F13778
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #420E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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