#422289#422289

#422289 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.159 H 290.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#422289
RGBrgb(66, 34, 137)
HSLhsl(259, 60%, 34%)
HSVhsv(259, 75%, 54%)
CMYKcmyk(51.8%, 75.2%, 0%, 46.3%)
CIE-LABlab(24.03, 40.33, -51.92)
CIE-LCHlch(24.03, 65.74, 307.84°)
OKLaboklab(36.3% 0.0554 -0.1491)
OKLCHoklch(36.3% 0.159 290.4)
XYZxyz(7.3329, 4.1081, 24.0686)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422289 #698922
analogous
#223589 #422289 #752289
triadic
#422289 #894222 #228942
tetradic
#422289 #892235 #698922 #228975
square
#422289 #892235 #698922 #228975
split-complementary
#422289 #897522 #358922
monochromatic
#130A27 #2A1658 #422289 #5A2EBA #7A51D4

Accessibility & contrast

On white

11.53
#422289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#422289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422289
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422289#FFFFFF#000000##FFFFFF
##4222891.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#293E53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422289;
/* rgb */ color: rgb(66, 34, 137);
/* oklch */ color: oklch(36.3% 0.159 290.4);
Tailwind
colors: {
  custom: {
    50: '#7e60ac',
    500: '#422289',
    950: '#000000',
  },
}
SCSS
$custom: #422289;
$custom-light: #7e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422289",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 258.641,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.363,
    "c": 0.15905,
    "h": 290.4
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#422289
secondary
#97B84F
accent
#E344B2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422289

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

Preview Lab → · Contrast checker → · Palette generator →

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