#422388#422388

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

Color values

HEX#422388
RGBrgb(66, 35, 136)
HSLhsl(258, 59%, 34%)
HSVhsv(258, 74%, 53%)
CMYKcmyk(51.5%, 74.3%, 0%, 46.7%)
CIE-LABlab(24.12, 39.51, -51.14)
CIE-LCHlch(24.12, 64.62, 307.69°)
OKLaboklab(36.34% 0.0547 -0.1468)
OKLCHoklch(36.34% 0.157 290.4)
XYZxyz(7.2905, 4.1376, 23.7023)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422388 #698823
analogous
#233688 #422388 #742388
triadic
#422388 #884223 #238842
tetradic
#422388 #882336 #698823 #238874
square
#422388 #882336 #698823 #238874
split-complementary
#422388 #887423 #368823
monochromatic
#130A27 #2A1657 #422388 #5A30B9 #7A53D3

Accessibility & contrast

On white

11.49
#422388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422388
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422388#FFFFFF#000000##FFFFFF
##4223881.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422388;
/* rgb */ color: rgb(66, 35, 136);
/* oklch */ color: oklch(36.3% 0.157 290.4);
Tailwind
colors: {
  custom: {
    50: '#7e61ac',
    500: '#422388',
    950: '#000000',
  },
}
SCSS
$custom: #422388;
$custom-light: #7e61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422388",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 258.416,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.15667,
    "h": 290.4
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#422388
secondary
#97B750
accent
#E246B2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422388

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

Preview Lab → · Contrast checker → · Palette generator →

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