#422C88#422C88

#422C88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.145 H 288.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#422C88
RGBrgb(66, 44, 136)
HSLhsl(254, 51%, 35%)
HSVhsv(254, 68%, 53%)
CMYKcmyk(51.5%, 67.6%, 0%, 46.7%)
CIE-LABlab(25.97, 34.40, -48.12)
CIE-LCHlch(25.97, 59.15, 305.57°)
OKLaboklab(37.66% 0.0458 -0.138)
OKLCHoklch(37.66% 0.145 288.4)
XYZxyz(7.5901, 4.7368, 23.8022)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C88 #72882C
analogous
#2C4488 #422C88 #702C88
triadic
#422C88 #88422C #2C8842
tetradic
#422C88 #882C44 #72882C #2C8870
square
#422C88 #882C44 #72882C #2C8870
split-complementary
#422C88 #88702C #44882C
monochromatic
#150E2C #2C1D5A #422C88 #583BB6 #7C62CC

Accessibility & contrast

On white

10.78
#422C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#422C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C88
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C88#FFFFFF#000000##FFFFFF
##422C881.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#294356
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422c88;
/* rgb */ color: rgb(66, 44, 136);
/* oklch */ color: oklch(37.7% 0.145 288.4);
Tailwind
colors: {
  custom: {
    50: '#7d67ab',
    500: '#422c88',
    950: '#000000',
  },
}
SCSS
$custom: #422c88;
$custom-light: #7d67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422c88",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 254.348,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.14537,
    "h": 288.4
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#422C88
secondary
#9EB35D
accent
#DB4DB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422C88

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

Preview Lab → · Contrast checker → · Palette generator →

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