#422099#422099

#422099 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.180 H 287.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#422099
RGBrgb(66, 32, 153)
HSLhsl(257, 65%, 36%)
HSVhsv(257, 79%, 60%)
CMYKcmyk(56.9%, 79.1%, 0%, 40%)
CIE-LABlab(25.23, 45.97, -59.84)
CIE-LCHlch(25.23, 75.46, 307.53°)
OKLaboklab(37.62% 0.0525 -0.1723)
OKLCHoklch(37.62% 0.18 287)
XYZxyz(8.5113, 4.4907, 30.5491)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422099 #779920
analogous
#203B99 #422099 #7F2099
triadic
#422099 #994220 #209942
tetradic
#422099 #99203B #779920 #20997F
square
#422099 #99203B #779920 #20997F
split-complementary
#422099 #997F20 #3B9920
monochromatic
#160B34 #2C1566 #422099 #582BCC #7D57DC

Accessibility & contrast

On white

11.06
#422099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#422099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422099
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422099#FFFFFF#000000##FFFFFF
##4220991.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422099;
/* rgb */ color: rgb(66, 32, 153);
/* oklch */ color: oklch(37.6% 0.180 287.0);
Tailwind
colors: {
  custom: {
    50: '#8160b8',
    500: '#422099',
    950: '#000000',
  },
}
SCSS
$custom: #422099;
$custom-light: #8160b8;
$custom-dark: #000000;
JSON
{
  "hex": "#422099",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 256.86,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.1801,
    "h": 287
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#422099
secondary
#A2C055
accent
#E83FB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422099

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

Preview Lab → · Contrast checker → · Palette generator →

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