#422389#422389

#422389 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.158 H 290.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#422389
RGBrgb(66, 35, 137)
HSLhsl(258, 59%, 34%)
HSVhsv(258, 74%, 54%)
CMYKcmyk(51.8%, 74.5%, 0%, 46.3%)
CIE-LABlab(24.21, 39.80, -51.61)
CIE-LCHlch(24.21, 65.18, 307.64°)
OKLaboklab(36.43% 0.0545 -0.1482)
OKLCHoklch(36.43% 0.158 290.2)
XYZxyz(7.3619, 4.1661, 24.0783)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422389 #6A8923
analogous
#233789 #422389 #752389
triadic
#422389 #894223 #238942
tetradic
#422389 #892337 #6A8923 #238975
square
#422389 #892337 #6A8923 #238975
split-complementary
#422389 #897523 #378923
monochromatic
#130A28 #2B1758 #422389 #592FBA #7A53D3

Accessibility & contrast

On white

11.46
#422389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#422389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422389
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422389#FFFFFF#000000##FFFFFF
##4223891.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#293E54
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #422389;
/* rgb */ color: rgb(66, 35, 137);
/* oklch */ color: oklch(36.4% 0.158 290.2);
Tailwind
colors: {
  custom: {
    50: '#7e61ac',
    500: '#422389',
    950: '#000000',
  },
}
SCSS
$custom: #422389;
$custom-light: #7e61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422389",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 258.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36433,
    "c": 0.15789,
    "h": 290.2
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#422389
secondary
#98B751
accent
#E245B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422389

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

Preview Lab → · Contrast checker → · Palette generator →

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