#422181#422181

#422181 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.150 H 292.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#422181
RGBrgb(66, 33, 129)
HSLhsl(261, 59%, 32%)
HSVhsv(261, 74%, 51%)
CMYKcmyk(48.8%, 74.4%, 0%, 49.4%)
CIE-LABlab(23.10, 38.53, -48.40)
CIE-LCHlch(23.10, 61.87, 308.52°)
OKLaboklab(35.42% 0.0582 -0.1388)
OKLCHoklch(35.42% 0.15 292.8)
XYZxyz(6.7520, 3.8307, 21.1483)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422181 #608121
analogous
#213081 #422181 #722181
triadic
#422181 #814221 #218142
tetradic
#422181 #812130 #608121 #218172
square
#422181 #812130 #608121 #218172
split-complementary
#422181 #817221 #308121
monochromatic
#100820 #291550 #422181 #5B2DB2 #794BD1

Accessibility & contrast

On white

11.89
#422181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#422181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422181
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422181#FFFFFF#000000##FFFFFF
##4221811.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003884
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#2F3A4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422181;
/* rgb */ color: rgb(66, 33, 129);
/* oklch */ color: oklch(35.4% 0.150 292.8);
Tailwind
colors: {
  custom: {
    50: '#7d5fa6',
    500: '#422181',
    950: '#000000',
  },
}
SCSS
$custom: #422181;
$custom-light: #7d5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#422181",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 260.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35422,
    "c": 0.15049,
    "h": 292.8
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#422181
secondary
#8FB44A
accent
#E245AC
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #422181

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

Preview Lab → · Contrast checker → · Palette generator →

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