#330B32#330B32

#330B32 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.085 H 328.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#330B32
RGBrgb(51, 11, 50)
HSLhsl(302, 65%, 12%)
HSVhsv(302, 78%, 20%)
CMYKcmyk(0%, 78.4%, 2%, 80%)
CIE-LABlab(10.36, 25.79, -15.85)
CIE-LCHlch(10.36, 30.27, 328.43°)
OKLaboklab(23.83% 0.0724 -0.0437)
OKLCHoklch(23.83% 0.085 328.9)
XYZxyz(2.0606, 1.1736, 3.1350)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B32 #0B330C
analogous
#200B33 #330B32 #330B1E
triadic
#330B32 #32330B #0B3233
tetradic
#330B32 #33200B #0B330C #0B1E33
square
#330B32 #33200B #0B330C #0B1E33
split-complementary
#330B32 #1E330B #0B3320
monochromatic
#190519 #190519 #330B32 #651663 #982195

Accessibility & contrast

On white

17.01
#330B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B32
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B32#FFFFFF#000000##FFFFFF
##330B321.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071933
Deuteranopia (green-blind)
#161E31
Tritanopia (blue-blind)
#35101D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330b32;
/* rgb */ color: rgb(51, 11, 50);
/* oklch */ color: oklch(23.8% 0.085 328.9);
Tailwind
colors: {
  custom: {
    50: '#6c4e6a',
    500: '#330b32',
    950: '#000000',
  },
}
SCSS
$custom: #330b32;
$custom-light: #6c4e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#330b32",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 50
  },
  "hsl": {
    "h": 301.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23828,
    "c": 0.08461,
    "h": 328.9
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#330B32
secondary
#2A702C
accent
#E84440
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330B32

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

Preview Lab → · Contrast checker → · Palette generator →

#330B32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva