#421066#421066

#421066 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.139 H 305.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#421066
RGBrgb(66, 16, 102)
HSLhsl(275, 73%, 23%)
HSVhsv(275, 84%, 40%)
CMYKcmyk(35.3%, 84.3%, 0%, 60%)
CIE-LABlab(17.87, 39.23, -39.57)
CIE-LCHlch(17.87, 55.72, 314.75°)
OKLaboklab(30.98% 0.0813 -0.1127)
OKLCHoklch(30.98% 0.139 305.8)
XYZxyz(4.8298, 2.4882, 12.7936)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421066 #346610
analogous
#171066 #421066 #66105F
triadic
#421066 #664210 #106642
tetradic
#421066 #661710 #346610 #105F66
square
#421066 #661710 #346610 #105F66
split-complementary
#421066 #5F6610 #106617
monochromatic
#11041A #200831 #421066 #64189B #8621D0

Accessibility & contrast

On white

14.02
#421066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421066
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421066#FFFFFF#000000##FFFFFF
##4210661.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421066;
/* rgb */ color: rgb(66, 16, 102);
/* oklch */ color: oklch(31.0% 0.139 305.8);
Tailwind
colors: {
  custom: {
    50: '#7b5592',
    500: '#421066',
    950: '#000000',
  },
}
SCSS
$custom: #421066;
$custom-light: #7b5592;
$custom-dark: #000000;
JSON
{
  "hex": "#421066",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 274.884,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30982,
    "c": 0.13896,
    "h": 305.8
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#421066
secondary
#609E33
accent
#F03885
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421066

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

Preview Lab → · Contrast checker → · Palette generator →

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