#322276#322276

#322276 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.136 H 284.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#322276
RGBrgb(50, 34, 118)
HSLhsl(251, 55%, 30%)
HSVhsv(251, 71%, 46%)
CMYKcmyk(57.6%, 71.2%, 0%, 53.7%)
CIE-LABlab(20.56, 31.71, -45.65)
CIE-LCHlch(20.56, 55.58, 304.79°)
OKLaboklab(32.88% 0.0348 -0.1312)
OKLCHoklch(32.88% 0.136 284.9)
XYZxyz(5.1564, 3.1299, 17.4684)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322276 #667622
analogous
#223C76 #322276 #5C2276
triadic
#322276 #763222 #227632
tetradic
#322276 #76223C #667622 #22765C
square
#322276 #76223C #667622 #22765C
split-complementary
#322276 #765C22 #3C7622
monochromatic
#0A0718 #1E1446 #322276 #4630A6 #6148CA

Accessibility & contrast

On white

12.92
#322276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#322276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322276
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322276#FFFFFF#000000##FFFFFF
##3222761.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#133849
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322276;
/* rgb */ color: rgb(50, 34, 118);
/* oklch */ color: oklch(32.9% 0.136 284.9);
Tailwind
colors: {
  custom: {
    50: '#725e9e',
    500: '#322276',
    950: '#000000',
  },
}
SCSS
$custom: #322276;
$custom-light: #725e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#322276",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 251.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32883,
    "c": 0.13579,
    "h": 284.9
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#322276
secondary
#97A94B
accent
#DF49C2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322276

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

Preview Lab → · Contrast checker → · Palette generator →

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