#422C97#422C97

#422C97 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.165 H 285.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#422C97
RGBrgb(66, 44, 151)
HSLhsl(252, 55%, 38%)
HSVhsv(252, 71%, 59%)
CMYKcmyk(56.3%, 70.9%, 0%, 40.8%)
CIE-LABlab(27.28, 39.06, -55.25)
CIE-LCHlch(27.28, 67.67, 305.26°)
OKLaboklab(39.01% 0.0434 -0.1589)
OKLCHoklch(39.01% 0.165 285.3)
XYZxyz(8.7317, 5.1935, 29.8145)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C97 #81972C
analogous
#2C4C97 #422C97 #772C97
triadic
#422C97 #97422C #2C9742
tetradic
#422C97 #972C4C #81972C #2C9777
square
#422C97 #972C4C #81972C #2C9777
split-complementary
#422C97 #97772C #4C972C
monochromatic
#191038 #2D1E68 #422C97 #573AC6 #806AD4

Accessibility & contrast

On white

10.30
#422C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#422C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C97
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C97#FFFFFF#000000##FFFFFF
##422C971.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422c97;
/* rgb */ color: rgb(66, 44, 151);
/* oklch */ color: oklch(39.0% 0.165 285.3);
Tailwind
colors: {
  custom: {
    50: '#8067b7',
    500: '#422c97',
    950: '#000000',
  },
}
SCSS
$custom: #422c97;
$custom-light: #8067b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422c97",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 252.336,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.16474,
    "h": 285.3
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#422C97
secondary
#A9BA65
accent
#DE4AC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422C97

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

Preview Lab → · Contrast checker → · Palette generator →

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