#422199#422199

#422199 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.179 H 286.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#422199
RGBrgb(66, 33, 153)
HSLhsl(257, 65%, 36%)
HSVhsv(257, 78%, 60%)
CMYKcmyk(56.9%, 78.4%, 0%, 40%)
CIE-LABlab(25.40, 45.49, -59.57)
CIE-LCHlch(25.40, 74.95, 307.37°)
OKLaboklab(37.74% 0.0518 -0.1715)
OKLCHoklch(37.74% 0.179 286.8)
XYZxyz(8.5387, 4.5454, 30.5582)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422199 #789921
analogous
#213C99 #422199 #7E2199
triadic
#422199 #994221 #219942
tetradic
#422199 #99213C #789921 #21997E
square
#422199 #99213C #789921 #21997E
split-complementary
#422199 #997E21 #3C9921
monochromatic
#170B34 #2C1667 #422199 #582CCB #7D59DB

Accessibility & contrast

On white

11.00
#422199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#422199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422199
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422199#FFFFFF#000000##FFFFFF
##4221991.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#1A435C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422199;
/* rgb */ color: rgb(66, 33, 153);
/* oklch */ color: oklch(37.7% 0.179 286.8);
Tailwind
colors: {
  custom: {
    50: '#8161b8',
    500: '#422199',
    950: '#000000',
  },
}
SCSS
$custom: #422199;
$custom-light: #8161b8;
$custom-dark: #000000;
JSON
{
  "hex": "#422199",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 256.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37735,
    "c": 0.17914,
    "h": 286.8
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#422199
secondary
#A2BF56
accent
#E840BA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422199

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

Preview Lab → · Contrast checker → · Palette generator →

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