#422095#422095

#422095 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.175 H 287.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#422095
RGBrgb(66, 32, 149)
HSLhsl(257, 65%, 35%)
HSVhsv(257, 79%, 58%)
CMYKcmyk(55.7%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.83, 44.82, -58.04)
CIE-LCHlch(24.83, 73.33, 307.68°)
OKLaboklab(37.22% 0.0538 -0.167)
OKLCHoklch(37.22% 0.175 287.8)
XYZxyz(8.1865, 4.3608, 28.8383)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422095 #739520
analogous
#203895 #422095 #7C2095
triadic
#422095 #954220 #209542
tetradic
#422095 #952038 #739520 #20957C
square
#422095 #952038 #739520 #20957C
split-complementary
#422095 #957C20 #389520
monochromatic
#150A30 #2C1563 #422095 #582BC7 #7C55DA

Accessibility & contrast

On white

11.22
#422095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#422095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422095
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422095#FFFFFF#000000##FFFFFF
##4220951.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#1F415A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422095;
/* rgb */ color: rgb(66, 32, 149);
/* oklch */ color: oklch(37.2% 0.175 287.8);
Tailwind
colors: {
  custom: {
    50: '#8060b5',
    500: '#422095',
    950: '#000000',
  },
}
SCSS
$custom: #422095;
$custom-light: #8060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422095",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 257.436,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37218,
    "c": 0.17545,
    "h": 287.8
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#422095
secondary
#9FBE53
accent
#E840B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422095

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

Preview Lab → · Contrast checker → · Palette generator →

#422095 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva