#422399#422399

#422399 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.177 H 286.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#422399
RGBrgb(66, 35, 153)
HSLhsl(256, 63%, 37%)
HSVhsv(256, 77%, 60%)
CMYKcmyk(56.9%, 77.1%, 0%, 40%)
CIE-LABlab(25.74, 44.51, -59.00)
CIE-LCHlch(25.74, 73.91, 307.03°)
OKLaboklab(37.98% 0.0504 -0.1698)
OKLCHoklch(37.98% 0.177 286.5)
XYZxyz(8.5958, 4.6597, 30.5773)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422399 #7A9923
analogous
#233F99 #422399 #7D2399
triadic
#422399 #994223 #239942
tetradic
#422399 #99233F #7A9923 #23997D
square
#422399 #99233F #7A9923 #23997D
split-complementary
#422399 #997D23 #3F9923
monochromatic
#170C35 #2D1867 #422399 #572ECB #7D5DDA

Accessibility & contrast

On white

10.87
#422399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#422399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422399
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422399#FFFFFF#000000##FFFFFF
##4223991.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#1A445D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422399;
/* rgb */ color: rgb(66, 35, 153);
/* oklch */ color: oklch(38.0% 0.177 286.5);
Tailwind
colors: {
  custom: {
    50: '#8162b8',
    500: '#422399',
    950: '#000000',
  },
}
SCSS
$custom: #422399;
$custom-light: #8162b8;
$custom-dark: #000000;
JSON
{
  "hex": "#422399",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 255.763,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37976,
    "c": 0.17715,
    "h": 286.5
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#422399
secondary
#A4BE59
accent
#E642BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422399

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

Preview Lab → · Contrast checker → · Palette generator →

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