#321959#321959

#321959 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.109 H 296.9°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#321959
RGBrgb(50, 25, 89)
HSLhsl(263, 56%, 22%)
HSVhsv(263, 72%, 35%)
CMYKcmyk(43.8%, 71.9%, 0%, 65.1%)
CIE-LABlab(15.98, 27.97, -34.10)
CIE-LCHlch(15.98, 44.11, 309.36°)
OKLaboklab(28.79% 0.0494 -0.0973)
OKLCHoklch(28.79% 0.109 296.9)
XYZxyz(3.4657, 2.0946, 9.6710)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321959 #405919
analogous
#192059 #321959 #521959
triadic
#321959 #593219 #195932
tetradic
#321959 #591920 #405919 #195952
square
#321959 #591920 #405919 #195952
split-complementary
#321959 #595219 #205919
monochromatic
#0D0718 #170C29 #321959 #4D2689 #6834B9

Accessibility & contrast

On white

14.80
#321959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#321959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321959
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321959#FFFFFF#000000##FFFFFF
##3219591.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#282836
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #321959;
/* rgb */ color: rgb(50, 25, 89);
/* oklch */ color: oklch(28.8% 0.109 296.9);
Tailwind
colors: {
  custom: {
    50: '#6e5788',
    500: '#321959',
    950: '#000000',
  },
}
SCSS
$custom: #321959;
$custom-light: #6e5788;
$custom-dark: #000000;
JSON
{
  "hex": "#321959",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 263.438,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28787,
    "c": 0.10914,
    "h": 296.9
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#321959
secondary
#708F3E
accent
#DF48A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #321959

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

Preview Lab → · Contrast checker → · Palette generator →

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