#322476#322476

#322476 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.133 H 284.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#322476
RGBrgb(50, 36, 118)
HSLhsl(250, 53%, 30%)
HSVhsv(250, 69%, 46%)
CMYKcmyk(57.6%, 69.5%, 0%, 53.7%)
CIE-LABlab(21.01, 30.48, -44.91)
CIE-LCHlch(21.01, 54.27, 304.16°)
OKLaboklab(33.21% 0.0329 -0.1291)
OKLCHoklch(33.21% 0.133 284.3)
XYZxyz(5.2153, 3.2476, 17.4881)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322476 #687624
analogous
#243F76 #322476 #5B2476
triadic
#322476 #763224 #247632
tetradic
#322476 #76243F #687624 #24765B
square
#322476 #76243F #687624 #24765B
split-complementary
#322476 #765B24 #3F7624
monochromatic
#0A0718 #1E1647 #322476 #4632A5 #614CC8

Accessibility & contrast

On white

12.73
#322476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#322476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322476
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322476#FFFFFF#000000##FFFFFF
##3224761.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#133949
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322476;
/* rgb */ color: rgb(50, 36, 118);
/* oklch */ color: oklch(33.2% 0.133 284.3);
Tailwind
colors: {
  custom: {
    50: '#72609e',
    500: '#322476',
    950: '#000000',
  },
}
SCSS
$custom: #322476;
$custom-light: #72609e;
$custom-dark: #000000;
JSON
{
  "hex": "#322476",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 250.244,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33208,
    "c": 0.1332,
    "h": 284.3
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#322476
secondary
#99A94D
accent
#DD4BC4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322476

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

Preview Lab → · Contrast checker → · Palette generator →

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