#320836#320836

#320836 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.093 H 324.2°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#320836
RGBrgb(50, 8, 54)
HSLhsl(295, 74%, 12%)
HSVhsv(295, 85%, 21%)
CMYKcmyk(7.4%, 85.2%, 0%, 78.8%)
CIE-LABlab(9.94, 27.78, -19.45)
CIE-LCHlch(9.94, 33.91, 325.01°)
OKLaboklab(23.58% 0.075 -0.0542)
OKLCHoklch(23.58% 0.093 324.2)
XYZxyz(2.0680, 1.1182, 3.5962)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320836 #0C3608
analogous
#1B0836 #320836 #360823
triadic
#320836 #363208 #083632
tetradic
#320836 #361B08 #0C3608 #082336
square
#320836 #361B08 #0C3608 #082336
split-complementary
#320836 #233608 #08361B
monochromatic
#19041B #19041B #320836 #63106B #9518A1

Accessibility & contrast

On white

17.16
#320836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320836
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320836#FFFFFF#000000##FFFFFF
##3208361.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#111D35
Tritanopia (blue-blind)
#33101E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320836;
/* rgb */ color: rgb(50, 8, 54);
/* oklch */ color: oklch(23.6% 0.093 324.2);
Tailwind
colors: {
  custom: {
    50: '#6c4c6d',
    500: '#320836',
    950: '#000000',
  },
}
SCSS
$custom: #320836;
$custom-light: #6c4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#320836",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 294.783,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23575,
    "c": 0.09257,
    "h": 324.2
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#320836
secondary
#2C7525
accent
#F13747
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320836

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

Preview Lab → · Contrast checker → · Palette generator →

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