#422288#422288

#422288 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.158 H 290.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#422288
RGBrgb(66, 34, 136)
HSLhsl(259, 60%, 33%)
HSVhsv(259, 75%, 53%)
CMYKcmyk(51.5%, 75%, 0%, 46.7%)
CIE-LABlab(23.93, 40.04, -51.45)
CIE-LCHlch(23.93, 65.19, 307.89°)
OKLaboklab(36.21% 0.0556 -0.1477)
OKLCHoklch(36.21% 0.158 290.6)
XYZxyz(7.2615, 4.0796, 23.6926)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422288 #688822
analogous
#223588 #422288 #752288
triadic
#422288 #884222 #228842
tetradic
#422288 #882235 #688822 #228875
square
#422288 #882235 #688822 #228875
split-complementary
#422288 #887522 #358822
monochromatic
#120A26 #2A1657 #422288 #5A2EB9 #7A51D3

Accessibility & contrast

On white

11.56
#422288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422288
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422288#FFFFFF#000000##FFFFFF
##4222881.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#2A3D53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422288;
/* rgb */ color: rgb(66, 34, 136);
/* oklch */ color: oklch(36.2% 0.158 290.6);
Tailwind
colors: {
  custom: {
    50: '#7e60ac',
    500: '#422288',
    950: '#000000',
  },
}
SCSS
$custom: #422288;
$custom-light: #7e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422288",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 258.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36206,
    "c": 0.15783,
    "h": 290.6
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#422288
secondary
#96B74F
accent
#E345B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422288

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

Preview Lab → · Contrast checker → · Palette generator →

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