#320837#320837

#320837 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.094 H 323.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#320837
RGBrgb(50, 8, 55)
HSLhsl(294, 75%, 12%)
HSVhsv(294, 85%, 22%)
CMYKcmyk(9.1%, 85.5%, 0%, 78.4%)
CIE-LABlab(10.01, 27.99, -20.05)
CIE-LCHlch(10.01, 34.43, 324.38°)
OKLaboklab(23.65% 0.075 -0.056)
OKLCHoklch(23.65% 0.094 323.3)
XYZxyz(2.0917, 1.1277, 3.7212)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320837 #0D3708
analogous
#1B0837 #320837 #370825
triadic
#320837 #373208 #083732
tetradic
#320837 #371B08 #0D3708 #082537
square
#320837 #371B08 #0D3708 #082537
split-complementary
#320837 #253708 #08371B
monochromatic
#18041B #18041B #320837 #63106C #9318A2

Accessibility & contrast

On white

17.13
#320837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320837
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320837#FFFFFF#000000##FFFFFF
##3208371.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#33111F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320837;
/* rgb */ color: rgb(50, 8, 55);
/* oklch */ color: oklch(23.7% 0.094 323.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c6e',
    500: '#320837',
    950: '#000000',
  },
}
SCSS
$custom: #320837;
$custom-light: #6c4c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#320837",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 293.617,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23651,
    "c": 0.09357,
    "h": 323.3
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#320837
secondary
#2E7625
accent
#F1374A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320837

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

Preview Lab → · Contrast checker → · Palette generator →

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