#422495#422495

#422495 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.171 H 287.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#422495
RGBrgb(66, 36, 149)
HSLhsl(256, 61%, 36%)
HSVhsv(256, 76%, 58%)
CMYKcmyk(55.7%, 75.8%, 0%, 41.6%)
CIE-LABlab(25.53, 42.82, -56.89)
CIE-LCHlch(25.53, 71.20, 306.97°)
OKLaboklab(37.71% 0.0507 -0.1637)
OKLCHoklch(37.71% 0.171 287.2)
XYZxyz(8.3008, 4.5895, 28.8764)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422495 #779524
analogous
#243F95 #422495 #7B2495
triadic
#422495 #954224 #249542
tetradic
#422495 #95243F #779524 #24957B
square
#422495 #95243F #779524 #24957B
split-complementary
#422495 #957B24 #3F9524
monochromatic
#160C32 #2C1864 #422495 #5830C6 #7D5CD8

Accessibility & contrast

On white

10.95
#422495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422495
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422495#FFFFFF#000000##FFFFFF
##4224951.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1E435B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422495;
/* rgb */ color: rgb(66, 36, 149);
/* oklch */ color: oklch(37.7% 0.171 287.2);
Tailwind
colors: {
  custom: {
    50: '#8062b5',
    500: '#422495',
    950: '#000000',
  },
}
SCSS
$custom: #422495;
$custom-light: #8062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422495",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 255.929,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.17133,
    "h": 287.2
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#422495
secondary
#A2BC59
accent
#E444BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422495

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

Preview Lab → · Contrast checker → · Palette generator →

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