#422A8A#422A8A

#422A8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.151 H 288.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#422A8A
RGBrgb(66, 42, 138)
HSLhsl(255, 53%, 35%)
HSVhsv(255, 70%, 54%)
CMYKcmyk(52.2%, 69.6%, 0%, 45.9%)
CIE-LABlab(25.71, 36.20, -49.79)
CIE-LCHlch(25.71, 61.56, 306.02°)
OKLaboklab(37.53% 0.0476 -0.1429)
OKLCHoklch(37.53% 0.151 288.4)
XYZxyz(7.6608, 4.6488, 24.5335)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A8A #728A2A
analogous
#2A428A #422A8A #722A8A
triadic
#422A8A #8A422A #2A8A42
tetradic
#422A8A #8A2A42 #728A2A #2A8A72
square
#422A8A #8A2A42 #728A2A #2A8A72
split-complementary
#422A8A #8A722A #428A2A
monochromatic
#150D2C #2C1C5B #422A8A #5838B9 #7C60CF

Accessibility & contrast

On white

10.88
#422A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#422A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A8A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A8A#FFFFFF#000000##FFFFFF
##422A8A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#284256
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422a8a;
/* rgb */ color: rgb(66, 42, 138);
/* oklch */ color: oklch(37.5% 0.151 288.4);
Tailwind
colors: {
  custom: {
    50: '#7e65ad',
    500: '#422a8a',
    950: '#000000',
  },
}
SCSS
$custom: #422a8a;
$custom-light: #7e65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#422a8a",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 255,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37527,
    "c": 0.15059,
    "h": 288.4
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#422A8A
secondary
#9EB45B
accent
#DD4BB8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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