#422290#422290

#422290 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.167 H 288.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#422290
RGBrgb(66, 34, 144)
HSLhsl(257, 62%, 35%)
HSVhsv(257, 76%, 56%)
CMYKcmyk(54.2%, 76.4%, 0%, 43.5%)
CIE-LABlab(24.69, 42.38, -55.19)
CIE-LCHlch(24.69, 69.58, 307.52°)
OKLaboklab(36.97% 0.0536 -0.1587)
OKLCHoklch(36.97% 0.167 288.7)
XYZxyz(7.8514, 4.3155, 26.7994)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422290 #709022
analogous
#223990 #422290 #792290
triadic
#422290 #904222 #229042
tetradic
#422290 #902239 #709022 #229079
square
#422290 #902239 #709022 #229079
split-complementary
#422290 #907922 #399022
monochromatic
#150B2D #2B165E #422290 #592EC2 #7B55D7

Accessibility & contrast

On white

11.27
#422290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422290
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422290#FFFFFF#000000##FFFFFF
##4222901.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#244057
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422290;
/* rgb */ color: rgb(66, 34, 144);
/* oklch */ color: oklch(37.0% 0.167 288.7);
Tailwind
colors: {
  custom: {
    50: '#7f61b2',
    500: '#422290',
    950: '#000000',
  },
}
SCSS
$custom: #422290;
$custom-light: #7f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#422290",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 257.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.16748,
    "h": 288.7
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#422290
secondary
#9DBB53
accent
#E543B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422290

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

Preview Lab → · Contrast checker → · Palette generator →

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