#422284#422284

#422284 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.8% C 0.153 H 291.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#422284
RGBrgb(66, 34, 132)
HSLhsl(260, 59%, 33%)
HSVhsv(260, 74%, 52%)
CMYKcmyk(50%, 74.2%, 0%, 48.2%)
CIE-LABlab(23.57, 38.87, -49.54)
CIE-LCHlch(23.57, 62.97, 308.12°)
OKLaboklab(35.83% 0.0566 -0.1421)
OKLCHoklch(35.83% 0.153 291.7)
XYZxyz(6.9825, 3.9680, 22.2233)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422284 #648422
analogous
#223384 #422284 #732284
triadic
#422284 #844222 #228442
tetradic
#422284 #842233 #648422 #228473
square
#422284 #842233 #648422 #228473
split-complementary
#422284 #847322 #338422
monochromatic
#110923 #2A1553 #422284 #5A2FB5 #7A4FD2

Accessibility & contrast

On white

11.71
#422284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422284
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422284#FFFFFF#000000##FFFFFF
##4222841.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#2D3C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422284;
/* rgb */ color: rgb(66, 34, 132);
/* oklch */ color: oklch(35.8% 0.153 291.7);
Tailwind
colors: {
  custom: {
    50: '#7d60a9',
    500: '#422284',
    950: '#000000',
  },
}
SCSS
$custom: #422284;
$custom-light: #7d60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#422284",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 259.592,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35833,
    "c": 0.15296,
    "h": 291.7
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#422284
secondary
#93B54D
accent
#E246AF
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422284

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

Preview Lab → · Contrast checker → · Palette generator →

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