#330832#330832

#330832 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.089 H 329.0°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#330832
RGBrgb(51, 8, 50)
HSLhsl(301, 73%, 12%)
HSVhsv(301, 84%, 20%)
CMYKcmyk(0%, 84.3%, 2%, 80%)
CIE-LABlab(9.86, 27.21, -16.64)
CIE-LCHlch(9.86, 31.90, 328.55°)
OKLaboklab(23.47% 0.0765 -0.046)
OKLCHoklch(23.47% 0.089 329)
XYZxyz(2.0278, 1.1079, 3.1240)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330832 #083309
analogous
#1F0833 #330832 #33081D
triadic
#330832 #323308 #083233
tetradic
#330832 #331F08 #083309 #081D33
square
#330832 #331F08 #083309 #081D33
split-complementary
#330832 #1D3308 #08331F
monochromatic
#1A041A #1A041A #330832 #681066 #9D199A

Accessibility & contrast

On white

17.19
#330832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330832
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330832#FFFFFF#000000##FFFFFF
##3308321.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#141D31
Tritanopia (blue-blind)
#350E1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330832;
/* rgb */ color: rgb(51, 8, 50);
/* oklch */ color: oklch(23.5% 0.089 329.0);
Tailwind
colors: {
  custom: {
    50: '#6d4c6a',
    500: '#330832',
    950: '#000000',
  },
}
SCSS
$custom: #330832;
$custom-light: #6d4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#330832",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 301.395,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23467,
    "c": 0.08924,
    "h": 329
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#330832
secondary
#257227
accent
#F03C38
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330832

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

Preview Lab → · Contrast checker → · Palette generator →

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