#322376#322376

#322376 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.135 H 284.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#322376
RGBrgb(50, 35, 118)
HSLhsl(251, 54%, 30%)
HSVhsv(251, 70%, 46%)
CMYKcmyk(57.6%, 70.3%, 0%, 53.7%)
CIE-LABlab(20.78, 31.09, -45.28)
CIE-LCHlch(20.78, 54.93, 304.48°)
OKLaboklab(33.04% 0.0338 -0.1302)
OKLCHoklch(33.04% 0.135 284.6)
XYZxyz(5.1854, 3.1879, 17.4781)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322376 #677623
analogous
#233E76 #322376 #5B2376
triadic
#322376 #763223 #237632
tetradic
#322376 #76233E #677623 #23765B
square
#322376 #76233E #677623 #23765B
split-complementary
#322376 #765B23 #3E7623
monochromatic
#0A0718 #1E1547 #322376 #4631A5 #614AC9

Accessibility & contrast

On white

12.82
#322376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#322376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322376
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322376#FFFFFF#000000##FFFFFF
##3223761.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.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: #322376;
/* rgb */ color: rgb(50, 35, 118);
/* oklch */ color: oklch(33.0% 0.135 284.6);
Tailwind
colors: {
  custom: {
    50: '#725f9e',
    500: '#322376',
    950: '#000000',
  },
}
SCSS
$custom: #322376;
$custom-light: #725f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#322376",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 250.843,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.13451,
    "h": 284.6
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#322376
secondary
#98A94C
accent
#DE4AC3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322376

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

Preview Lab → · Contrast checker → · Palette generator →

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