#421160#421160

#421160 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.132 H 308.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#421160
RGBrgb(66, 17, 96)
HSLhsl(277, 70%, 22%)
HSVhsv(277, 82%, 38%)
CMYKcmyk(31.3%, 82.3%, 0%, 62.4%)
CIE-LABlab(17.48, 37.36, -36.23)
CIE-LCHlch(17.48, 52.04, 315.87°)
OKLaboklab(30.55% 0.082 -0.1029)
OKLCHoklch(30.55% 0.132 308.5)
XYZxyz(4.5581, 2.4038, 11.2879)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421160 #2F6011
analogous
#1A1160 #421160 #601157
triadic
#421160 #604211 #116042
tetradic
#421160 #601A11 #2F6011 #115760
square
#421160 #601A11 #2F6011 #115760
split-complementary
#421160 #576011 #11601A
monochromatic
#12051A #1E082C #421160 #661A94 #8923C8

Accessibility & contrast

On white

14.18
#421160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#421160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421160
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421160#FFFFFF#000000##FFFFFF
##4211601.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#3D2538
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421160;
/* rgb */ color: rgb(66, 17, 96);
/* oklch */ color: oklch(30.5% 0.132 308.5);
Tailwind
colors: {
  custom: {
    50: '#7a558e',
    500: '#421160',
    950: '#000000',
  },
}
SCSS
$custom: #421160;
$custom-light: #7a558e;
$custom-dark: #000000;
JSON
{
  "hex": "#421160",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 277.215,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.13158,
    "h": 308.5
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#421160
secondary
#5A9934
accent
#ED3B7F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #421160

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

Preview Lab → · Contrast checker → · Palette generator →

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