#422D95#422D95

#422D95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.161 H 285.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#422D95
RGBrgb(66, 45, 149)
HSLhsl(252, 54%, 38%)
HSVhsv(252, 70%, 58%)
CMYKcmyk(55.7%, 69.8%, 0%, 41.6%)
CIE-LABlab(27.31, 37.86, -53.98)
CIE-LCHlch(27.31, 65.93, 305.05°)
OKLaboklab(38.97% 0.0429 -0.1552)
OKLCHoklch(38.97% 0.161 285.4)
XYZxyz(8.6083, 5.2045, 28.9789)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D95 #80952D
analogous
#2D4C95 #422D95 #762D95
triadic
#422D95 #95422D #2D9542
tetradic
#422D95 #952D4C #80952D #2D9576
square
#422D95 #952D4C #80952D #2D9576
split-complementary
#422D95 #95762D #4C952D
monochromatic
#181137 #2D1F66 #422D95 #573BC4 #7F6AD2

Accessibility & contrast

On white

10.29
#422D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#422D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D95
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D95#FFFFFF#000000##FFFFFF
##422D951.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#1E485D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #422d95;
/* rgb */ color: rgb(66, 45, 149);
/* oklch */ color: oklch(39.0% 0.161 285.4);
Tailwind
colors: {
  custom: {
    50: '#7f68b5',
    500: '#422d95',
    950: '#000000',
  },
}
SCSS
$custom: #422d95;
$custom-light: #7f68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422d95",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 252.115,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.16098,
    "h": 285.4
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#422D95
secondary
#A8B965
accent
#DD4BBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422D95

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

Preview Lab → · Contrast checker → · Palette generator →

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