#422395#422395

#422395 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.172 H 287.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#422395
RGBrgb(66, 35, 149)
HSLhsl(256, 62%, 36%)
HSVhsv(256, 77%, 58%)
CMYKcmyk(55.7%, 76.5%, 0%, 41.6%)
CIE-LABlab(25.35, 43.33, -57.19)
CIE-LCHlch(25.35, 71.75, 307.15°)
OKLaboklab(37.58% 0.0515 -0.1645)
OKLCHoklch(37.58% 0.172 287.4)
XYZxyz(8.2710, 4.5298, 28.8665)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422395 #769523
analogous
#233D95 #422395 #7B2395
triadic
#422395 #954223 #239542
tetradic
#422395 #95233D #769523 #23957B
square
#422395 #95233D #769523 #23957B
split-complementary
#422395 #957B23 #3D9523
monochromatic
#160C32 #2C1763 #422395 #582FC7 #7C5AD8

Accessibility & contrast

On white

11.02
#422395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#422395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422395
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422395#FFFFFF#000000##FFFFFF
##4223951.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422395;
/* rgb */ color: rgb(66, 35, 149);
/* oklch */ color: oklch(37.6% 0.172 287.4);
Tailwind
colors: {
  custom: {
    50: '#8062b5',
    500: '#422395',
    950: '#000000',
  },
}
SCSS
$custom: #422395;
$custom-light: #8062b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422395",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 256.316,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37583,
    "c": 0.17239,
    "h": 287.4
  },
  "luminance": 0.0453
}

Semantic roles & 50–950 ramp

primary
#422395
secondary
#A1BD57
accent
#E543B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422395

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

Preview Lab → · Contrast checker → · Palette generator →

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