#422F91#422F91

#422F91 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.9% C 0.153 H 285.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#422F91
RGBrgb(66, 47, 145)
HSLhsl(252, 51%, 38%)
HSVhsv(252, 68%, 57%)
CMYKcmyk(54.5%, 67.6%, 0%, 43.1%)
CIE-LABlab(27.39, 35.43, -51.38)
CIE-LCHlch(27.39, 62.41, 304.59°)
OKLaboklab(38.93% 0.0416 -0.1475)
OKLCHoklch(38.93% 0.153 285.7)
XYZxyz(8.3726, 5.2352, 27.3519)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F91 #7E912F
analogous
#2F4D91 #422F91 #732F91
triadic
#422F91 #91422F #2F9142
tetradic
#422F91 #912F4D #7E912F #2F9173
square
#422F91 #912F4D #7E912F #2F9173
split-complementary
#422F91 #91732F #4D912F
monochromatic
#181135 #2D2063 #422F91 #573EBF #7F6BCF

Accessibility & contrast

On white

10.26
#422F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#422F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F91
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F91#FFFFFF#000000##FFFFFF
##422F911.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#21485C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #422f91;
/* rgb */ color: rgb(66, 47, 145);
/* oklch */ color: oklch(38.9% 0.153 285.7);
Tailwind
colors: {
  custom: {
    50: '#7e69b2',
    500: '#422f91',
    950: '#000000',
  },
}
SCSS
$custom: #422f91;
$custom-light: #7e69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#422f91",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 251.633,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38927,
    "c": 0.15328,
    "h": 285.7
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#422F91
secondary
#A7B665
accent
#DB4DBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422F91

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

Preview Lab → · Contrast checker → · Palette generator →

#422F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva