#422496#422496

#422496 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.173 H 287.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#422496
RGBrgb(66, 36, 150)
HSLhsl(256, 61%, 36%)
HSVhsv(256, 76%, 59%)
CMYKcmyk(56%, 76%, 0%, 41.2%)
CIE-LABlab(25.63, 43.12, -57.35)
CIE-LCHlch(25.63, 71.75, 306.94°)
OKLaboklab(37.81% 0.0504 -0.165)
OKLCHoklch(37.81% 0.173 287)
XYZxyz(8.3810, 4.6216, 29.2987)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422496 #789624
analogous
#243F96 #422496 #7B2496
triadic
#422496 #964224 #249642
tetradic
#422496 #96243F #789624 #24967B
square
#422496 #96243F #789624 #24967B
split-complementary
#422496 #967B24 #3F9624
monochromatic
#170C33 #2C1865 #422496 #5830C7 #7D5CD8

Accessibility & contrast

On white

10.91
#422496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#422496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422496
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422496#FFFFFF#000000##FFFFFF
##4224961.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1D445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422496;
/* rgb */ color: rgb(66, 36, 150);
/* oklch */ color: oklch(37.8% 0.173 287.0);
Tailwind
colors: {
  custom: {
    50: '#8062b6',
    500: '#422496',
    950: '#000000',
  },
}
SCSS
$custom: #422496;
$custom-light: #8062b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422496",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 255.789,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37807,
    "c": 0.17254,
    "h": 287
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#422496
secondary
#A2BD59
accent
#E443BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422496

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

Preview Lab → · Contrast checker → · Palette generator →

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