#422287#422287

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

Color values

HEX#422287
RGBrgb(66, 34, 135)
HSLhsl(259, 60%, 33%)
HSVhsv(259, 75%, 53%)
CMYKcmyk(51.1%, 74.8%, 0%, 47.1%)
CIE-LABlab(23.84, 39.74, -50.97)
CIE-LCHlch(23.84, 64.63, 307.94°)
OKLaboklab(36.11% 0.0559 -0.1463)
OKLCHoklch(36.11% 0.157 290.9)
XYZxyz(7.1907, 4.0513, 23.3201)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422287 #678722
analogous
#223487 #422287 #742287
triadic
#422287 #874222 #228742
tetradic
#422287 #872234 #678722 #228774
square
#422287 #872234 #678722 #228774
split-complementary
#422287 #877422 #348722
monochromatic
#120925 #2A1656 #422287 #5A2EB8 #7A50D3

Accessibility & contrast

On white

11.60
#422287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#422287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422287
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422287#FFFFFF#000000##FFFFFF
##4222871.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422287;
/* rgb */ color: rgb(66, 34, 135);
/* oklch */ color: oklch(36.1% 0.157 290.9);
Tailwind
colors: {
  custom: {
    50: '#7e60ab',
    500: '#422287',
    950: '#000000',
  },
}
SCSS
$custom: #422287;
$custom-light: #7e60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422287",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 259.01,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.15662,
    "h": 290.9
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#422287
secondary
#95B74E
accent
#E345B1
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422287

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

Preview Lab → · Contrast checker → · Palette generator →

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