#422595#422595

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

Color values

HEX#422595
RGBrgb(66, 37, 149)
HSLhsl(256, 60%, 36%)
HSVhsv(256, 75%, 58%)
CMYKcmyk(55.7%, 75.2%, 0%, 41.6%)
CIE-LABlab(25.72, 42.30, -56.59)
CIE-LCHlch(25.72, 70.65, 306.78°)
OKLaboklab(37.84% 0.0499 -0.1628)
OKLCHoklch(37.84% 0.17 287)
XYZxyz(8.3315, 4.6509, 28.8866)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422595 #789525
analogous
#254095 #422595 #7A2595
triadic
#422595 #954225 #259542
tetradic
#422595 #952540 #789525 #25957A
square
#422595 #952540 #789525 #25957A
split-complementary
#422595 #957A25 #409525
monochromatic
#170D33 #2C1964 #422595 #5831C6 #7D5ED7

Accessibility & contrast

On white

10.88
#422595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422595
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422595#FFFFFF#000000##FFFFFF
##4225951.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#1E445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422595;
/* rgb */ color: rgb(66, 37, 149);
/* oklch */ color: oklch(37.8% 0.170 287.0);
Tailwind
colors: {
  custom: {
    50: '#8063b5',
    500: '#422595',
    950: '#000000',
  },
}
SCSS
$custom: #422595;
$custom-light: #8063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422595",
  "rgb": {
    "r": 66,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 255.536,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3784,
    "c": 0.17025,
    "h": 287
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#422595
secondary
#A2BC5A
accent
#E344BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422595

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

Preview Lab → · Contrast checker → · Palette generator →

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