#422195#422195

#422195 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.174 H 287.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#422195
RGBrgb(66, 33, 149)
HSLhsl(257, 64%, 36%)
HSVhsv(257, 78%, 58%)
CMYKcmyk(55.7%, 77.9%, 0%, 41.6%)
CIE-LABlab(25.00, 44.33, -57.76)
CIE-LCHlch(25.00, 72.82, 307.51°)
OKLaboklab(37.34% 0.053 -0.1662)
OKLCHoklch(37.34% 0.174 287.7)
XYZxyz(8.2138, 4.4155, 28.8474)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422195 #749521
analogous
#213A95 #422195 #7C2195
triadic
#422195 #954221 #219542
tetradic
#422195 #95213A #749521 #21957C
square
#422195 #95213A #749521 #21957C
split-complementary
#422195 #957C21 #3A9521
monochromatic
#160B31 #2C1663 #422195 #582CC7 #7C57DA

Accessibility & contrast

On white

11.15
#422195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#422195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422195
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422195#FFFFFF#000000##FFFFFF
##4221951.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422195;
/* rgb */ color: rgb(66, 33, 149);
/* oklch */ color: oklch(37.3% 0.174 287.7);
Tailwind
colors: {
  custom: {
    50: '#8060b5',
    500: '#422195',
    950: '#000000',
  },
}
SCSS
$custom: #422195;
$custom-light: #8060b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422195",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 257.069,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.17445,
    "h": 287.7
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#422195
secondary
#A0BE54
accent
#E741B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422195

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

Preview Lab → · Contrast checker → · Palette generator →

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