#422899#422899

#422899 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.172 H 285.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#422899
RGBrgb(66, 40, 153)
HSLhsl(254, 59%, 38%)
HSVhsv(254, 74%, 60%)
CMYKcmyk(56.9%, 73.9%, 0%, 40%)
CIE-LABlab(26.66, 41.90, -57.49)
CIE-LCHlch(26.66, 71.14, 306.09°)
OKLaboklab(38.63% 0.0464 -0.1655)
OKLCHoklch(38.63% 0.172 285.7)
XYZxyz(8.7536, 4.9752, 30.6299)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422899 #7F9928
analogous
#284799 #422899 #7A2899
triadic
#422899 #994228 #289942
tetradic
#422899 #992847 #7F9928 #28997A
square
#422899 #992847 #7F9928 #28997A
split-complementary
#422899 #997A28 #479928
monochromatic
#180F38 #2D1B68 #422899 #5735CA #7F65D7

Accessibility & contrast

On white

10.53
#422899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#422899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422899
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422899#FFFFFF#000000##FFFFFF
##4228991.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#19475E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422899;
/* rgb */ color: rgb(66, 40, 153);
/* oklch */ color: oklch(38.6% 0.172 285.7);
Tailwind
colors: {
  custom: {
    50: '#8065b8',
    500: '#422899',
    950: '#000000',
  },
}
SCSS
$custom: #422899;
$custom-light: #8065b8;
$custom-dark: #000000;
JSON
{
  "hex": "#422899",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 253.805,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.17184,
    "h": 285.7
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#422899
secondary
#A7BD60
accent
#E246BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422899

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

Preview Lab → · Contrast checker → · Palette generator →

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