#422CAB#422CAB

#422CAB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.190 H 281.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#422CAB
RGBrgb(66, 44, 171)
HSLhsl(250, 59%, 42%)
HSVhsv(250, 74%, 67%)
CMYKcmyk(61.4%, 74.3%, 0%, 32.9%)
CIE-LABlab(29.16, 45.24, -64.31)
CIE-LCHlch(29.16, 78.63, 305.13°)
OKLaboklab(40.91% 0.0392 -0.1854)
OKLCHoklch(40.91% 0.19 281.9)
XYZxyz(10.4958, 5.8991, 39.1057)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422CAB #95AB2C
analogous
#2C55AB #422CAB #822CAB
triadic
#422CAB #AB422C #2CAB42
tetradic
#422CAB #AB2C55 #95AB2C #2CAB82
square
#422CAB #AB2C55 #95AB2C #2CAB82
split-complementary
#422CAB #AB822C #55AB2C
monochromatic
#1C134A #2F1F7A #422CAB #5D45CF #8776DC

Accessibility & contrast

On white

9.63
#422CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#422CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422CAB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422CAB#FFFFFF#000000##FFFFFF
##422CAB1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #422cab;
/* rgb */ color: rgb(66, 44, 171);
/* oklch */ color: oklch(40.9% 0.190 281.9);
Tailwind
colors: {
  custom: {
    50: '#8368c5',
    500: '#422cab',
    950: '#000000',
  },
}
SCSS
$custom: #422cab;
$custom-light: #8368c5;
$custom-dark: #000000;
JSON
{
  "hex": "#422cab",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 250.394,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.18952,
    "h": 281.9
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#422CAB
secondary
#B5C36F
accent
#E246C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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