#422BAB#422BAB

#422BAB is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.191 H 282.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#422BAB
RGBrgb(66, 43, 171)
HSLhsl(251, 60%, 42%)
HSVhsv(251, 75%, 67%)
CMYKcmyk(61.4%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.97, 45.77, -64.62)
CIE-LCHlch(28.97, 79.19, 305.31°)
OKLaboklab(40.78% 0.0399 -0.1863)
OKLCHoklch(40.78% 0.191 282.1)
XYZxyz(10.4590, 5.8255, 39.0935)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422BAB #94AB2B
analogous
#2B54AB #422BAB #822BAB
triadic
#422BAB #AB422B #2BAB42
tetradic
#422BAB #AB2B54 #94AB2B #2BAB82
square
#422BAB #AB2B54 #94AB2B #2BAB82
split-complementary
#422BAB #AB822B #54AB2B
monochromatic
#1C1249 #2F1F7A #422BAB #5D43D0 #8774DC

Accessibility & contrast

On white

9.70
#422BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#422BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422BAB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422BAB#FFFFFF#000000##FFFFFF
##422BAB1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422bab;
/* rgb */ color: rgb(66, 43, 171);
/* oklch */ color: oklch(40.8% 0.191 282.1);
Tailwind
colors: {
  custom: {
    50: '#8367c5',
    500: '#422bab',
    950: '#000000',
  },
}
SCSS
$custom: #422bab;
$custom-light: #8367c5;
$custom-dark: #000000;
JSON
{
  "hex": "#422bab",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 250.781,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.19055,
    "h": 282.1
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#422BAB
secondary
#B4C46E
accent
#E345C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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