#422296#422296

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

Color values

HEX#422296
RGBrgb(66, 34, 150)
HSLhsl(257, 63%, 36%)
HSVhsv(257, 77%, 59%)
CMYKcmyk(56%, 77.3%, 0%, 41.2%)
CIE-LABlab(25.27, 44.13, -57.93)
CIE-LCHlch(25.27, 72.83, 307.30°)
OKLaboklab(37.56% 0.052 -0.1667)
OKLCHoklch(37.56% 0.175 287.3)
XYZxyz(8.3222, 4.5039, 29.2791)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422296 #769622
analogous
#223C96 #422296 #7C2296
triadic
#422296 #964222 #229642
tetradic
#422296 #96223C #769622 #22967C
square
#422296 #96223C #769622 #22967C
split-complementary
#422296 #967C22 #3C9622
monochromatic
#160B32 #2C1764 #422296 #582DC8 #7C59D9

Accessibility & contrast

On white

11.05
#422296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#422296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422296
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422296#FFFFFF#000000##FFFFFF
##4222961.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422296;
/* rgb */ color: rgb(66, 34, 150);
/* oklch */ color: oklch(37.6% 0.175 287.3);
Tailwind
colors: {
  custom: {
    50: '#8061b6',
    500: '#422296',
    950: '#000000',
  },
}
SCSS
$custom: #422296;
$custom-light: #8061b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422296",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 256.552,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37557,
    "c": 0.17462,
    "h": 287.3
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#422296
secondary
#A1BE56
accent
#E642B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422296

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

Preview Lab → · Contrast checker → · Palette generator →

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