#421966#421966

#421966 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.128 H 304.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#421966
RGBrgb(66, 25, 102)
HSLhsl(272, 61%, 25%)
HSVhsv(272, 75%, 40%)
CMYKcmyk(35.3%, 75.5%, 0%, 60%)
CIE-LABlab(19.28, 35.19, -37.27)
CIE-LCHlch(19.28, 51.26, 313.35°)
OKLaboklab(31.98% 0.0724 -0.106)
OKLCHoklch(31.98% 0.128 304.3)
XYZxyz(4.9921, 2.8128, 12.8477)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421966 #3D6619
analogous
#1B1966 #421966 #661964
triadic
#421966 #664219 #196642
tetradic
#421966 #661B19 #3D6619 #196466
square
#421966 #661B19 #3D6619 #196466
split-complementary
#421966 #646619 #19661B
monochromatic
#100619 #220D35 #421966 #622597 #8231C8

Accessibility & contrast

On white

13.44
#421966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#421966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421966
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421966#FFFFFF#000000##FFFFFF
##4219661.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#3B2B3D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421966;
/* rgb */ color: rgb(66, 25, 102);
/* oklch */ color: oklch(32.0% 0.128 304.3);
Tailwind
colors: {
  custom: {
    50: '#7a5a92',
    500: '#421966',
    950: '#000000',
  },
}
SCSS
$custom: #421966;
$custom-light: #7a5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#421966",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 271.948,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31977,
    "c": 0.12835,
    "h": 304.3
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#421966
secondary
#6A9C3F
accent
#E4448F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421966

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

Preview Lab → · Contrast checker → · Palette generator →

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