#421163#421163

#421163 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.135 H 307.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#421163
RGBrgb(66, 17, 99)
HSLhsl(276, 71%, 23%)
HSVhsv(276, 83%, 39%)
CMYKcmyk(33.3%, 82.8%, 0%, 61.2%)
CIE-LABlab(17.74, 38.09, -37.80)
CIE-LCHlch(17.74, 53.66, 315.22°)
OKLaboklab(30.81% 0.0813 -0.1075)
OKLCHoklch(30.81% 0.135 307.1)
XYZxyz(4.6989, 2.4601, 12.0293)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421163 #326311
analogous
#191163 #421163 #63115B
triadic
#421163 #634211 #116342
tetradic
#421163 #631911 #326311 #115B63
square
#421163 #631911 #326311 #115B63
split-complementary
#421163 #5B6311 #116319
monochromatic
#11041A #1F082F #421163 #651A97 #8823CB

Accessibility & contrast

On white

14.08
#421163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#421163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421163
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421163#FFFFFF#000000##FFFFFF
##4211631.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#3C263A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421163;
/* rgb */ color: rgb(66, 17, 99);
/* oklch */ color: oklch(30.8% 0.135 307.1);
Tailwind
colors: {
  custom: {
    50: '#7a5690',
    500: '#421163',
    950: '#000000',
  },
}
SCSS
$custom: #421163;
$custom-light: #7a5690;
$custom-dark: #000000;
JSON
{
  "hex": "#421163",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 275.854,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30809,
    "c": 0.13476,
    "h": 307.1
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#421163
secondary
#5E9B34
accent
#ED3A82
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #421163

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

Preview Lab → · Contrast checker → · Palette generator →

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