#422990#422990

#422990 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.159 H 287.3°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#422990
RGBrgb(66, 41, 144)
HSLhsl(255, 56%, 36%)
HSVhsv(255, 72%, 56%)
CMYKcmyk(54.2%, 71.5%, 0%, 43.5%)
CIE-LABlab(26.03, 38.61, -52.98)
CIE-LCHlch(26.03, 65.56, 306.08°)
OKLaboklab(37.92% 0.0475 -0.1522)
OKLCHoklch(37.92% 0.159 287.3)
XYZxyz(8.0723, 4.7573, 26.8731)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422990 #779029
analogous
#294490 #422990 #762990
triadic
#422990 #904229 #299042
tetradic
#422990 #902944 #779029 #299076
square
#422990 #902944 #779029 #299076
split-complementary
#422990 #907629 #449029
monochromatic
#160E31 #2C1B60 #422990 #5837C0 #7D61D2

Accessibility & contrast

On white

10.76
#422990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#422990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422990
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422990#FFFFFF#000000##FFFFFF
##4229901.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#234459
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422990;
/* rgb */ color: rgb(66, 41, 144);
/* oklch */ color: oklch(37.9% 0.159 287.3);
Tailwind
colors: {
  custom: {
    50: '#7f65b1',
    500: '#422990',
    950: '#000000',
  },
}
SCSS
$custom: #422990;
$custom-light: #7f65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#422990",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 254.563,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37922,
    "c": 0.15948,
    "h": 287.3
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#422990
secondary
#A2B85D
accent
#DF49BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422990

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

Preview Lab → · Contrast checker → · Palette generator →

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