#422382#422382

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

Color values

HEX#422382
RGBrgb(66, 35, 130)
HSLhsl(260, 58%, 32%)
HSVhsv(260, 73%, 51%)
CMYKcmyk(49.2%, 73.1%, 0%, 49%)
CIE-LABlab(23.58, 37.74, -48.26)
CIE-LCHlch(23.58, 61.27, 308.03°)
OKLaboklab(35.79% 0.0561 -0.1384)
OKLCHoklch(35.79% 0.149 292.1)
XYZxyz(6.8759, 3.9718, 21.5191)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422382 #638223
analogous
#233382 #422382 #722382
triadic
#422382 #824223 #238242
tetradic
#422382 #822333 #638223 #238272
square
#422382 #822333 #638223 #238272
split-complementary
#422382 #827223 #338223
monochromatic
#110922 #2A1652 #422382 #5A30B2 #7950D0

Accessibility & contrast

On white

11.70
#422382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422382
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422382#FFFFFF#000000##FFFFFF
##4223821.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#2E3B50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422382;
/* rgb */ color: rgb(66, 35, 130);
/* oklch */ color: oklch(35.8% 0.149 292.1);
Tailwind
colors: {
  custom: {
    50: '#7d61a7',
    500: '#422382',
    950: '#000000',
  },
}
SCSS
$custom: #422382;
$custom-light: #7d61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#422382",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 259.579,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.14929,
    "h": 292.1
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#422382
secondary
#92B34D
accent
#E147AF
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422382

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

Preview Lab → · Contrast checker → · Palette generator →

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