#422097#422097

#422097 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.178 H 287.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#422097
RGBrgb(66, 32, 151)
HSLhsl(257, 65%, 36%)
HSVhsv(257, 79%, 59%)
CMYKcmyk(56.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(25.03, 45.40, -58.95)
CIE-LCHlch(25.03, 74.40, 307.60°)
OKLaboklab(37.42% 0.0532 -0.1696)
OKLCHoklch(37.42% 0.178 287.4)
XYZxyz(8.3475, 4.4252, 29.6864)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422097 #759720
analogous
#203997 #422097 #7D2097
triadic
#422097 #974220 #209742
tetradic
#422097 #972039 #759720 #20977D
square
#422097 #972039 #759720 #20977D
split-complementary
#422097 #977D20 #399720
monochromatic
#160B32 #2C1564 #422097 #582BC9 #7C56DB

Accessibility & contrast

On white

11.14
#422097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#422097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422097
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422097#FFFFFF#000000##FFFFFF
##4220971.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#1D425B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422097;
/* rgb */ color: rgb(66, 32, 151);
/* oklch */ color: oklch(37.4% 0.178 287.4);
Tailwind
colors: {
  custom: {
    50: '#8160b7',
    500: '#422097',
    950: '#000000',
  },
}
SCSS
$custom: #422097;
$custom-light: #8160b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422097",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 257.143,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.17778,
    "h": 287.4
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#422097
secondary
#A0BF54
accent
#E840B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422097

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

Preview Lab → · Contrast checker → · Palette generator →

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