#422B82#422B82

#422B82 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.139 H 290.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#422B82
RGBrgb(66, 43, 130)
HSLhsl(256, 50%, 34%)
HSVhsv(256, 67%, 51%)
CMYKcmyk(49.2%, 66.9%, 0%, 49%)
CIE-LABlab(25.25, 33.15, -45.53)
CIE-LCHlch(25.25, 56.32, 306.06°)
OKLaboklab(36.99% 0.0477 -0.1304)
OKLCHoklch(36.99% 0.139 290.1)
XYZxyz(7.1388, 4.4974, 21.6067)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422B82 #6B822B
analogous
#2B4082 #422B82 #6E2B82
triadic
#422B82 #82422B #2B8242
tetradic
#422B82 #822B40 #6B822B #2B826E
square
#422B82 #822B40 #6B822B #2B826E
split-complementary
#422B82 #826E2B #40822B
monochromatic
#130D26 #2B1C54 #422B82 #593AB0 #7A5ECA

Accessibility & contrast

On white

11.05
#422B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#422B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422B82
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422B82#FFFFFF#000000##FFFFFF
##422B821.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#2D4052
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422b82;
/* rgb */ color: rgb(66, 43, 130);
/* oklch */ color: oklch(37.0% 0.139 290.1);
Tailwind
colors: {
  custom: {
    50: '#7c66a7',
    500: '#422b82',
    950: '#000000',
  },
}
SCSS
$custom: #422b82;
$custom-light: #7c66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#422b82",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 255.862,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36987,
    "c": 0.1388,
    "h": 290.1
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#422B82
secondary
#99B059
accent
#DA4EB5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #422B82

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

Preview Lab → · Contrast checker → · Palette generator →

#422B82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva