#321999#321999

#321999 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.188 H 279.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#321999
RGBrgb(50, 25, 153)
HSLhsl(252, 72%, 35%)
HSVhsv(252, 84%, 60%)
CMYKcmyk(67.3%, 83.7%, 0%, 40%)
CIE-LABlab(22.56, 47.41, -64.31)
CIE-LCHlch(22.56, 79.89, 306.40°)
OKLaboklab(35.39% 0.0316 -0.1857)
OKLCHoklch(35.39% 0.188 279.7)
XYZxyz(7.4110, 3.6727, 30.4492)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321999 #809919
analogous
#194099 #321999 #721999
triadic
#321999 #993219 #199932
tetradic
#321999 #991940 #809919 #199972
square
#321999 #991940 #809919 #199972
split-complementary
#321999 #997219 #409919
monochromatic
#100830 #211064 #321999 #4322CE #684BE2

Accessibility & contrast

On white

12.11
#321999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#321999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321999
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321999#FFFFFF#000000##FFFFFF
##3219991.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00415B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #321999;
/* rgb */ color: rgb(50, 25, 153);
/* oklch */ color: oklch(35.4% 0.188 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a5bb8',
    500: '#321999',
    950: '#000000',
  },
}
SCSS
$custom: #321999;
$custom-light: #7a5bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#321999",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 153
  },
  "hsl": {
    "h": 251.719,
    "s": 71.91,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.18834,
    "h": 279.7
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#321999
secondary
#ACC34A
accent
#EF39CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #321999

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

Preview Lab → · Contrast checker → · Palette generator →

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