#330B3A#330B3A

#330B3A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.093 H 321.3°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#330B3A
RGBrgb(51, 11, 58)
HSLhsl(291, 68%, 14%)
HSVhsv(291, 81%, 23%)
CMYKcmyk(12.1%, 81%, 0%, 77.3%)
CIE-LABlab(10.91, 27.53, -20.77)
CIE-LCHlch(10.91, 34.49, 322.97°)
OKLaboklab(24.4% 0.0725 -0.0581)
OKLCHoklch(24.4% 0.093 321.3)
XYZxyz(2.2485, 1.2488, 4.1248)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B3A #123A0B
analogous
#1B0B3A #330B3A #3A0B29
triadic
#330B3A #3A330B #0B3A33
tetradic
#330B3A #3A1B0B #123A0B #0B293A
square
#330B3A #3A1B0B #123A0B #0B293A
split-complementary
#330B3A #293A0B #0B3A1B
monochromatic
#17051A #17051A #330B3A #60156D #8D1FA1

Accessibility & contrast

On white

16.80
#330B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#330B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B3A
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B3A#FFFFFF#000000##FFFFFF
##330B3A1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#341421
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330b3a;
/* rgb */ color: rgb(51, 11, 58);
/* oklch */ color: oklch(24.4% 0.093 321.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e70',
    500: '#330b3a',
    950: '#000000',
  },
}
SCSS
$custom: #330b3a;
$custom-light: #6d4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#330b3a",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 291.064,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24402,
    "c": 0.09285,
    "h": 321.3
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#330B3A
secondary
#35772A
accent
#EB3D57
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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