#330B3B#330B3B

#330B3B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.094 H 320.4°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#330B3B
RGBrgb(51, 11, 59)
HSLhsl(290, 69%, 14%)
HSVhsv(290, 81%, 23%)
CMYKcmyk(13.6%, 81.4%, 0%, 76.9%)
CIE-LABlab(10.99, 27.76, -21.37)
CIE-LCHlch(10.99, 35.03, 322.41°)
OKLaboklab(24.48% 0.0724 -0.0598)
OKLCHoklch(24.48% 0.094 320.4)
XYZxyz(2.2742, 1.2590, 4.2601)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B3B #133B0B
analogous
#1B0B3B #330B3B #3B0B2B
triadic
#330B3B #3B330B #0B3B33
tetradic
#330B3B #3B1B0B #133B0B #0B2B3B
square
#330B3B #3B1B0B #133B0B #0B2B3B
split-complementary
#330B3B #2B3B0B #0B3B1B
monochromatic
#16051A #16051A #330B3B #60156F #8C1EA2

Accessibility & contrast

On white

16.78
#330B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B3B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B3B#FFFFFF#000000##FFFFFF
##330B3B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#331422
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330b3b;
/* rgb */ color: rgb(51, 11, 59);
/* oklch */ color: oklch(24.5% 0.094 320.4);
Tailwind
colors: {
  custom: {
    50: '#6d4e71',
    500: '#330b3b',
    950: '#000000',
  },
}
SCSS
$custom: #330b3b;
$custom-light: #6d4e71;
$custom-dark: #000000;
JSON
{
  "hex": "#330b3b",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 59
  },
  "hsl": {
    "h": 290,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24478,
    "c": 0.09391,
    "h": 320.4
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#330B3B
secondary
#37782A
accent
#EB3C5A
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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