#330B36#330B36

#330B36 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.089 H 324.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#330B36
RGBrgb(51, 11, 54)
HSLhsl(296, 66%, 13%)
HSVhsv(296, 80%, 21%)
CMYKcmyk(5.6%, 79.6%, 0%, 78.8%)
CIE-LABlab(10.63, 26.65, -18.34)
CIE-LCHlch(10.63, 32.35, 325.46°)
OKLaboklab(24.11% 0.0726 -0.051)
OKLCHoklch(24.11% 0.089 324.9)
XYZxyz(2.1507, 1.2096, 3.6095)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B36 #0E360B
analogous
#1D0B36 #330B36 #360B23
triadic
#330B36 #36330B #0B3633
tetradic
#330B36 #361D0B #0E360B #0B2336
square
#330B36 #361D0B #0E360B #0B2336
split-complementary
#330B36 #23360B #0B361D
monochromatic
#180519 #180519 #330B36 #631569 #93209C

Accessibility & contrast

On white

16.91
#330B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B36
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B36#FFFFFF#000000##FFFFFF
##330B361.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A37
Deuteranopia (green-blind)
#131E35
Tritanopia (blue-blind)
#34121F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330b36;
/* rgb */ color: rgb(51, 11, 54);
/* oklch */ color: oklch(24.1% 0.089 324.9);
Tailwind
colors: {
  custom: {
    50: '#6d4e6d',
    500: '#330b36',
    950: '#000000',
  },
}
SCSS
$custom: #330b36;
$custom-light: #6d4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330b36",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 295.814,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24107,
    "c": 0.08867,
    "h": 324.9
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#330B36
secondary
#2F732A
accent
#E93F4B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #330B36

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

Preview Lab → · Contrast checker → · Palette generator →

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