#422882#422882

#422882 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.143 H 290.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#422882
RGBrgb(66, 40, 130)
HSLhsl(257, 53%, 33%)
HSVhsv(257, 69%, 51%)
CMYKcmyk(49.2%, 69.2%, 0%, 49%)
CIE-LABlab(24.60, 34.92, -46.59)
CIE-LCHlch(24.60, 58.23, 306.85°)
OKLaboklab(36.52% 0.0509 -0.1335)
OKLCHoklch(36.52% 0.143 290.9)
XYZxyz(7.0337, 4.2873, 21.5717)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422882 #688228
analogous
#283B82 #422882 #6F2882
triadic
#422882 #824228 #288242
tetradic
#422882 #82283B #688228 #28826F
square
#422882 #82283B #688228 #28826F
split-complementary
#422882 #826F28 #3B8228
monochromatic
#120B24 #2A1A53 #422882 #5A36B1 #7A59CC

Accessibility & contrast

On white

11.30
#422882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422882
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422882#FFFFFF#000000##FFFFFF
##4228821.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#2E3E51
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #422882;
/* rgb */ color: rgb(66, 40, 130);
/* oklch */ color: oklch(36.5% 0.143 290.9);
Tailwind
colors: {
  custom: {
    50: '#7d64a7',
    500: '#422882',
    950: '#000000',
  },
}
SCSS
$custom: #422882;
$custom-light: #7d64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#422882",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 257.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.14286,
    "h": 290.9
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#422882
secondary
#96B155
accent
#DC4BB2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #422882

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

Preview Lab → · Contrast checker → · Palette generator →

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