#320833#320833

#320833 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.090 H 327.0°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#320833
RGBrgb(50, 8, 51)
HSLhsl(299, 73%, 12%)
HSVhsv(299, 84%, 20%)
CMYKcmyk(2%, 84.3%, 0%, 80%)
CIE-LABlab(9.73, 27.14, -17.60)
CIE-LCHlch(9.73, 32.35, 327.04°)
OKLaboklab(23.36% 0.0751 -0.0488)
OKLCHoklch(23.36% 0.09 327)
XYZxyz(1.9997, 1.0909, 3.2366)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320833 #093308
analogous
#1D0833 #320833 #33081F
triadic
#320833 #333208 #083332
tetradic
#320833 #331D08 #093308 #081F33
square
#320833 #331D08 #093308 #081F33
split-complementary
#320833 #1F3308 #08331D
monochromatic
#1A041A #1A041A #320833 #661068 #9A199D

Accessibility & contrast

On white

17.24
#320833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320833
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320833#FFFFFF#000000##FFFFFF
##3208331.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021734
Deuteranopia (green-blind)
#121D32
Tritanopia (blue-blind)
#340F1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320833;
/* rgb */ color: rgb(50, 8, 51);
/* oklch */ color: oklch(23.4% 0.090 327.0);
Tailwind
colors: {
  custom: {
    50: '#6c4c6b',
    500: '#320833',
    950: '#000000',
  },
}
SCSS
$custom: #320833;
$custom-light: #6c4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#320833",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 51
  },
  "hsl": {
    "h": 298.605,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23355,
    "c": 0.0896,
    "h": 327
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#320833
secondary
#277225
accent
#F0383C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320833

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

Preview Lab → · Contrast checker → · Palette generator →

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