#322169#322169

#322169 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.119 H 288.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#322169
RGBrgb(50, 33, 105)
HSLhsl(254, 52%, 27%)
HSVhsv(254, 69%, 41%)
CMYKcmyk(52.4%, 68.6%, 0%, 58.8%)
CIE-LABlab(19.16, 28.08, -39.51)
CIE-LCHlch(19.16, 48.47, 305.40°)
OKLaboklab(31.52% 0.0378 -0.1132)
OKLCHoklch(31.52% 0.119 288.5)
XYZxyz(4.4083, 2.7856, 13.6672)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322169 #586921
analogous
#213469 #322169 #562169
triadic
#322169 #693221 #216932
tetradic
#322169 #692134 #586921 #216956
square
#322169 #692134 #586921 #216956
split-complementary
#322169 #695621 #346921
monochromatic
#0B0717 #1C123A #322169 #483098 #6041C3

Accessibility & contrast

On white

13.49
#322169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#322169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322169
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322169#FFFFFF#000000##FFFFFF
##3221691.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#1F3341
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322169;
/* rgb */ color: rgb(50, 33, 105);
/* oklch */ color: oklch(31.5% 0.119 288.5);
Tailwind
colors: {
  custom: {
    50: '#705d94',
    500: '#322169',
    950: '#000000',
  },
}
SCSS
$custom: #322169;
$custom-light: #705d94;
$custom-dark: #000000;
JSON
{
  "hex": "#322169",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 105
  },
  "hsl": {
    "h": 254.167,
    "s": 52.174,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31517,
    "c": 0.11938,
    "h": 288.5
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#322169
secondary
#899D49
accent
#DC4CBA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #322169

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

Preview Lab → · Contrast checker → · Palette generator →

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