#330D39#330D39

#330D39 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.089 H 321.9°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#330D39
RGBrgb(51, 13, 57)
HSLhsl(292, 63%, 14%)
HSVhsv(292, 77%, 22%)
CMYKcmyk(10.5%, 77.2%, 0%, 77.6%)
CIE-LABlab(11.19, 26.34, -19.62)
CIE-LCHlch(11.19, 32.84, 323.32°)
OKLaboklab(24.58% 0.0699 -0.0547)
OKLCHoklch(24.58% 0.089 321.9)
XYZxyz(2.2476, 1.2872, 4.0002)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D39 #13390D
analogous
#1D0D39 #330D39 #390D29
triadic
#330D39 #39330D #0D3933
tetradic
#330D39 #391D0D #13390D #0D2939
square
#330D39 #391D0D #13390D #0D2939
split-complementary
#330D39 #29390D #0D391D
monochromatic
#160619 #160619 #330D39 #60186B #8C249D

Accessibility & contrast

On white

16.70
#330D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D39
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D39#FFFFFF#000000##FFFFFF
##330D391.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B3A
Deuteranopia (green-blind)
#131F38
Tritanopia (blue-blind)
#341421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330d39;
/* rgb */ color: rgb(51, 13, 57);
/* oklch */ color: oklch(24.6% 0.089 321.9);
Tailwind
colors: {
  custom: {
    50: '#6d4f6f',
    500: '#330d39',
    950: '#000000',
  },
}
SCSS
$custom: #330d39;
$custom-light: #6d4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330d39",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 291.818,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24575,
    "c": 0.08874,
    "h": 321.9
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#330D39
secondary
#37742D
accent
#E64258
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330D39

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

Preview Lab → · Contrast checker → · Palette generator →

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