#330B39#330B39

#330B39 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.092 H 322.2°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#330B39
RGBrgb(51, 11, 57)
HSLhsl(292, 68%, 13%)
HSVhsv(292, 81%, 22%)
CMYKcmyk(10.5%, 80.7%, 0%, 77.6%)
CIE-LABlab(10.84, 27.31, -20.17)
CIE-LCHlch(10.84, 33.95, 323.56°)
OKLaboklab(24.33% 0.0725 -0.0563)
OKLCHoklch(24.33% 0.092 322.2)
XYZxyz(2.2234, 1.2387, 3.9921)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B39 #11390B
analogous
#1C0B39 #330B39 #390B28
triadic
#330B39 #39330B #0B3933
tetradic
#330B39 #391C0B #11390B #0B2839
square
#330B39 #391C0B #11390B #0B2839
split-complementary
#330B39 #28390B #0B391C
monochromatic
#17051A #17051A #330B39 #61156C #8F1FA0

Accessibility & contrast

On white

16.83
#330B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B39
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B39#FFFFFF#000000##FFFFFF
##330B391.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A3A
Deuteranopia (green-blind)
#111F38
Tritanopia (blue-blind)
#341321
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330b39;
/* rgb */ color: rgb(51, 11, 57);
/* oklch */ color: oklch(24.3% 0.092 322.2);
Tailwind
colors: {
  custom: {
    50: '#6d4e6f',
    500: '#330b39',
    950: '#000000',
  },
}
SCSS
$custom: #330b39;
$custom-light: #6d4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330b39",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 292.174,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24326,
    "c": 0.0918,
    "h": 322.2
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#330B39
secondary
#34762A
accent
#EB3D54
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330B39

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

Preview Lab → · Contrast checker → · Palette generator →

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