#322473#322473

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

Color values

HEX#322473
RGBrgb(50, 36, 115)
HSLhsl(251, 52%, 30%)
HSVhsv(251, 69%, 45%)
CMYKcmyk(56.5%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.74, 29.48, -43.42)
CIE-LCHlch(20.74, 52.48, 304.17°)
OKLaboklab(32.93% 0.0333 -0.1247)
OKLCHoklch(32.93% 0.129 284.9)
XYZxyz(5.0398, 3.1774, 16.5641)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322473 #657324
analogous
#243E73 #322473 #5A2473
triadic
#322473 #733224 #247332
tetradic
#322473 #73243E #657324 #24735A
square
#322473 #73243E #657324 #24735A
split-complementary
#322473 #735A24 #3E7324
monochromatic
#0A0717 #1E1544 #322473 #4633A2 #614BC7

Accessibility & contrast

On white

12.84
#322473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322473
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322473#FFFFFF#000000##FFFFFF
##3224731.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#163848
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322473;
/* rgb */ color: rgb(50, 36, 115);
/* oklch */ color: oklch(32.9% 0.129 284.9);
Tailwind
colors: {
  custom: {
    50: '#71609c',
    500: '#322473',
    950: '#000000',
  },
}
SCSS
$custom: #322473;
$custom-light: #71609c;
$custom-dark: #000000;
JSON
{
  "hex": "#322473",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 250.633,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32931,
    "c": 0.12908,
    "h": 284.9
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#322473
secondary
#96A64D
accent
#DC4CC2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322473

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

Preview Lab → · Contrast checker → · Palette generator →

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