#422087#422087

#422087 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.159 H 291.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#422087
RGBrgb(66, 32, 135)
HSLhsl(260, 62%, 33%)
HSVhsv(260, 76%, 53%)
CMYKcmyk(51.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(23.47, 40.78, -51.57)
CIE-LCHlch(23.47, 65.75, 308.34°)
OKLaboklab(35.85% 0.0577 -0.1481)
OKLCHoklch(35.85% 0.159 291.3)
XYZxyz(7.1352, 3.9403, 23.3016)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422087 #658720
analogous
#203187 #422087 #762087
triadic
#422087 #874220 #208742
tetradic
#422087 #872031 #658720 #208776
square
#422087 #872031 #658720 #208776
split-complementary
#422087 #877620 #318720
monochromatic
#120924 #2A1456 #422087 #5A2CB8 #7A4DD5

Accessibility & contrast

On white

11.74
#422087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#422087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422087
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422087#FFFFFF#000000##FFFFFF
##4220871.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#2B3C52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422087;
/* rgb */ color: rgb(66, 32, 135);
/* oklch */ color: oklch(35.9% 0.159 291.3);
Tailwind
colors: {
  custom: {
    50: '#7e5fab',
    500: '#422087',
    950: '#000000',
  },
}
SCSS
$custom: #422087;
$custom-light: #7e5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#422087",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 259.806,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.1589,
    "h": 291.3
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#422087
secondary
#94B84B
accent
#E543AF
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422087

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

Preview Lab → · Contrast checker → · Palette generator →

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