#422CA8#422CA8

#422CA8 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.186 H 282.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#422CA8
RGBrgb(66, 44, 168)
HSLhsl(251, 58%, 42%)
HSVhsv(251, 74%, 66%)
CMYKcmyk(60.7%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.87, 44.32, -62.98)
CIE-LCHlch(28.87, 77.01, 305.13°)
OKLaboklab(40.62% 0.0399 -0.1815)
OKLCHoklch(40.62% 0.186 282.4)
XYZxyz(10.2131, 5.7861, 37.6168)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422CA8 #92A82C
analogous
#2C54A8 #422CA8 #802CA8
triadic
#422CA8 #A8422C #2CA842
tetradic
#422CA8 #A82C54 #92A82C #2CA880
square
#422CA8 #A82C54 #92A82C #2CA880
split-complementary
#422CA8 #A8802C #54A82C
monochromatic
#1C1347 #2F1F78 #422CA8 #5C43CE #8674DB

Accessibility & contrast

On white

9.73
#422CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#422CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422CA8
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422CA8#FFFFFF#000000##FFFFFF
##422CA81.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422ca8;
/* rgb */ color: rgb(66, 44, 168);
/* oklch */ color: oklch(40.6% 0.186 282.4);
Tailwind
colors: {
  custom: {
    50: '#8368c3',
    500: '#422ca8',
    950: '#000000',
  },
}
SCSS
$custom: #422ca8;
$custom-light: #8368c3;
$custom-dark: #000000;
JSON
{
  "hex": "#422ca8",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 250.645,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.18588,
    "h": 282.4
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#422CA8
secondary
#B3C26E
accent
#E246C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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