#320839#320839

#320839 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.096 H 321.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#320839
RGBrgb(50, 8, 57)
HSLhsl(291, 75%, 13%)
HSVhsv(291, 86%, 22%)
CMYKcmyk(12.3%, 86%, 0%, 77.6%)
CIE-LABlab(10.16, 28.43, -21.26)
CIE-LCHlch(10.16, 35.50, 323.21°)
OKLaboklab(23.81% 0.0748 -0.0595)
OKLCHoklch(23.81% 0.096 321.5)
XYZxyz(2.1407, 1.1473, 3.9788)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320839 #0F3908
analogous
#1A0839 #320839 #390827
triadic
#320839 #393208 #083932
tetradic
#320839 #391A08 #0F3908 #082739
square
#320839 #391A08 #0F3908 #082739
split-complementary
#320839 #273908 #08391A
monochromatic
#18041B #18041B #320839 #61106F #9017A4

Accessibility & contrast

On white

17.08
#320839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#320839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320839
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320839#FFFFFF#000000##FFFFFF
##3208391.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#0E1D38
Tritanopia (blue-blind)
#331120
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320839;
/* rgb */ color: rgb(50, 8, 57);
/* oklch */ color: oklch(23.8% 0.096 321.5);
Tailwind
colors: {
  custom: {
    50: '#6c4d70',
    500: '#320839',
    950: '#000000',
  },
}
SCSS
$custom: #320839;
$custom-light: #6c4d70;
$custom-dark: #000000;
JSON
{
  "hex": "#320839",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 291.429,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23806,
    "c": 0.09559,
    "h": 321.5
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#320839
secondary
#317825
accent
#F23651
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320839

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

Preview Lab → · Contrast checker → · Palette generator →

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