#422A8B#422A8B

#422A8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.152 H 288.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#422A8B
RGBrgb(66, 42, 139)
HSLhsl(255, 54%, 35%)
HSVhsv(255, 70%, 55%)
CMYKcmyk(52.5%, 69.8%, 0%, 45.5%)
CIE-LABlab(25.80, 36.50, -50.27)
CIE-LCHlch(25.80, 62.13, 305.99°)
OKLaboklab(37.62% 0.0474 -0.1443)
OKLCHoklch(37.62% 0.152 288.2)
XYZxyz(7.7336, 4.6779, 24.9165)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A8B #738B2A
analogous
#2A438B #422A8B #722A8B
triadic
#422A8B #8B422A #2A8B42
tetradic
#422A8B #8B2A43 #738B2A #2A8B72
square
#422A8B #8B2A43 #738B2A #2A8B72
split-complementary
#422A8B #8B722A #438B2A
monochromatic
#150E2D #2C1C5C #422A8B #5838BA #7C60CF

Accessibility & contrast

On white

10.85
#422A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#422A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A8B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A8B#FFFFFF#000000##FFFFFF
##422A8B1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#274357
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422a8b;
/* rgb */ color: rgb(66, 42, 139);
/* oklch */ color: oklch(37.6% 0.152 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e65ae',
    500: '#422a8b',
    950: '#000000',
  },
}
SCSS
$custom: #422a8b;
$custom-light: #7e65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#422a8b",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 254.845,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.15187,
    "h": 288.2
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

primary
#422A8B
secondary
#9FB55C
accent
#DD4BB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #422A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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