#422295#422295

#422295 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.173 H 287.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#422295
RGBrgb(66, 34, 149)
HSLhsl(257, 63%, 36%)
HSVhsv(257, 77%, 58%)
CMYKcmyk(55.7%, 77.2%, 0%, 41.6%)
CIE-LABlab(25.17, 43.84, -57.48)
CIE-LCHlch(25.17, 72.29, 307.33°)
OKLaboklab(37.46% 0.0522 -0.1654)
OKLCHoklch(37.46% 0.173 287.5)
XYZxyz(8.2420, 4.4718, 28.8568)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422295 #759522
analogous
#223B95 #422295 #7B2295
triadic
#422295 #954222 #229542
tetradic
#422295 #95223B #759522 #22957B
square
#422295 #95223B #759522 #22957B
split-complementary
#422295 #957B22 #3B9522
monochromatic
#160B31 #2C1763 #422295 #582DC7 #7C58D9

Accessibility & contrast

On white

11.09
#422295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#422295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422295
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422295#FFFFFF#000000##FFFFFF
##4222951.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422295;
/* rgb */ color: rgb(66, 34, 149);
/* oklch */ color: oklch(37.5% 0.173 287.5);
Tailwind
colors: {
  custom: {
    50: '#8061b5',
    500: '#422295',
    950: '#000000',
  },
}
SCSS
$custom: #422295;
$custom-light: #8061b5;
$custom-dark: #000000;
JSON
{
  "hex": "#422295",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 256.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37458,
    "c": 0.17343,
    "h": 287.5
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#422295
secondary
#A0BD56
accent
#E642B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422295

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

Preview Lab → · Contrast checker → · Palette generator →

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