#422BA8#422BA8

#422BA8 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.187 H 282.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#422BA8
RGBrgb(66, 43, 168)
HSLhsl(251, 59%, 41%)
HSVhsv(251, 74%, 66%)
CMYKcmyk(60.7%, 74.4%, 0%, 34.1%)
CIE-LABlab(28.68, 44.86, -63.30)
CIE-LCHlch(28.68, 77.58, 305.32°)
OKLaboklab(40.49% 0.0406 -0.1825)
OKLCHoklch(40.49% 0.187 282.6)
XYZxyz(10.1763, 5.7125, 37.6046)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422BA8 #91A82B
analogous
#2B53A8 #422BA8 #812BA8
triadic
#422BA8 #A8422B #2BA842
tetradic
#422BA8 #A82B53 #91A82B #2BA881
square
#422BA8 #A82B53 #91A82B #2BA881
split-complementary
#422BA8 #A8812B #53A82B
monochromatic
#1C1247 #2F1F77 #422BA8 #5C42CF #8672DB

Accessibility & contrast

On white

9.80
#422BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#422BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422BA8
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422BA8#FFFFFF#000000##FFFFFF
##422BA81.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422ba8;
/* rgb */ color: rgb(66, 43, 168);
/* oklch */ color: oklch(40.5% 0.187 282.6);
Tailwind
colors: {
  custom: {
    50: '#8367c3',
    500: '#422ba8',
    950: '#000000',
  },
}
SCSS
$custom: #422ba8;
$custom-light: #8367c3;
$custom-dark: #000000;
JSON
{
  "hex": "#422ba8",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 251.04,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.18693,
    "h": 282.6
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#422BA8
secondary
#B3C26C
accent
#E245C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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