#320838#320838

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

Color values

HEX#320838
RGBrgb(50, 8, 56)
HSLhsl(293, 75%, 13%)
HSVhsv(293, 86%, 22%)
CMYKcmyk(10.7%, 85.7%, 0%, 78%)
CIE-LABlab(10.09, 28.21, -20.66)
CIE-LCHlch(10.09, 34.97, 323.79°)
OKLaboklab(23.73% 0.0749 -0.0577)
OKLCHoklch(23.73% 0.095 322.4)
XYZxyz(2.1160, 1.1374, 3.8487)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320838 #0E3808
analogous
#1A0838 #320838 #380826
triadic
#320838 #383208 #083832
tetradic
#320838 #381A08 #0E3808 #082638
square
#320838 #381A08 #0E3808 #082638
split-complementary
#320838 #263808 #08381A
monochromatic
#18041B #18041B #320838 #62106E #9217A3

Accessibility & contrast

On white

17.11
#320838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320838
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320838#FFFFFF#000000##FFFFFF
##3208381.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#33111F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #320838;
/* rgb */ color: rgb(50, 8, 56);
/* oklch */ color: oklch(23.7% 0.095 322.4);
Tailwind
colors: {
  custom: {
    50: '#6c4c6f',
    500: '#320838',
    950: '#000000',
  },
}
SCSS
$custom: #320838;
$custom-light: #6c4c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#320838",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 292.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23728,
    "c": 0.09457,
    "h": 322.4
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#320838
secondary
#2F7725
accent
#F2364E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320838

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

Preview Lab → · Contrast checker → · Palette generator →

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