#422B97#422B97

#422B97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.166 H 285.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#422B97
RGBrgb(66, 43, 151)
HSLhsl(253, 56%, 38%)
HSVhsv(253, 72%, 59%)
CMYKcmyk(56.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(27.07, 39.63, -55.59)
CIE-LCHlch(27.07, 68.27, 305.48°)
OKLaboklab(38.86% 0.0443 -0.1599)
OKLCHoklch(38.86% 0.166 285.5)
XYZxyz(8.6949, 5.1199, 29.8022)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422B97 #80972B
analogous
#2B4A97 #422B97 #782B97
triadic
#422B97 #97422B #2B9742
tetradic
#422B97 #972B4A #80972B #2B9778
square
#422B97 #972B4A #80972B #2B9778
split-complementary
#422B97 #97782B #4A972B
monochromatic
#181038 #2D1D67 #422B97 #5739C7 #7F68D4

Accessibility & contrast

On white

10.38
#422B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#422B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422B97
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422B97#FFFFFF#000000##FFFFFF
##422B971.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#1B475E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #422b97;
/* rgb */ color: rgb(66, 43, 151);
/* oklch */ color: oklch(38.9% 0.166 285.5);
Tailwind
colors: {
  custom: {
    50: '#8066b7',
    500: '#422b97',
    950: '#000000',
  },
}
SCSS
$custom: #422b97;
$custom-light: #8066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422b97",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 252.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.16593,
    "h": 285.5
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#422B97
secondary
#A8BB63
accent
#DF49BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422B97

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

Preview Lab → · Contrast checker → · Palette generator →

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