#422A97#422A97

#422A97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.167 H 285.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#422A97
RGBrgb(66, 42, 151)
HSLhsl(253, 56%, 38%)
HSVhsv(253, 72%, 59%)
CMYKcmyk(56.3%, 72.2%, 0%, 40.8%)
CIE-LABlab(26.87, 40.19, -55.92)
CIE-LCHlch(26.87, 68.87, 305.70°)
OKLaboklab(38.72% 0.0452 -0.1609)
OKLCHoklch(38.72% 0.167 285.7)
XYZxyz(8.6590, 5.0481, 29.7903)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A97 #7F972A
analogous
#2A4897 #422A97 #782A97
triadic
#422A97 #97422A #2A9742
tetradic
#422A97 #972A48 #7F972A #2A9778
square
#422A97 #972A48 #7F972A #2A9778
split-complementary
#422A97 #97782A #48972A
monochromatic
#180F37 #2D1D67 #422A97 #5737C7 #7F67D5

Accessibility & contrast

On white

10.45
#422A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#422A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A97
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A97#FFFFFF#000000##FFFFFF
##422A971.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#1C475D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #422a97;
/* rgb */ color: rgb(66, 42, 151);
/* oklch */ color: oklch(38.7% 0.167 285.7);
Tailwind
colors: {
  custom: {
    50: '#8066b7',
    500: '#422a97',
    950: '#000000',
  },
}
SCSS
$custom: #422a97;
$custom-light: #8066b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422a97",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 253.211,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38716,
    "c": 0.16709,
    "h": 285.7
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#422A97
secondary
#A7BB62
accent
#E048BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422A97

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

Preview Lab → · Contrast checker → · Palette generator →

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