#421166#421166

#421166 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.138 H 305.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#421166
RGBrgb(66, 17, 102)
HSLhsl(275, 71%, 23%)
HSVhsv(275, 83%, 40%)
CMYKcmyk(35.3%, 83.3%, 0%, 60%)
CIE-LABlab(18.00, 38.83, -39.35)
CIE-LCHlch(18.00, 55.28, 314.62°)
OKLaboklab(31.08% 0.0804 -0.1121)
OKLCHoklch(31.08% 0.138 305.7)
XYZxyz(4.8450, 2.5185, 12.7987)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421166 #356611
analogous
#171166 #421166 #66115F
triadic
#421166 #664211 #116642
tetradic
#421166 #661711 #356611 #115F66
square
#421166 #661711 #356611 #115F66
split-complementary
#421166 #5F6611 #116617
monochromatic
#11041A #200832 #421166 #641A9A #8622CF

Accessibility & contrast

On white

13.97
#421166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#421166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421166
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421166#FFFFFF#000000##FFFFFF
##4211661.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421166;
/* rgb */ color: rgb(66, 17, 102);
/* oklch */ color: oklch(31.1% 0.138 305.7);
Tailwind
colors: {
  custom: {
    50: '#7b5692',
    500: '#421166',
    950: '#000000',
  },
}
SCSS
$custom: #421166;
$custom-light: #7b5692;
$custom-dark: #000000;
JSON
{
  "hex": "#421166",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 274.588,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.13794,
    "h": 305.7
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#421166
secondary
#619E35
accent
#EE3A86
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421166

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

Preview Lab → · Contrast checker → · Palette generator →

#421166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva