#330D3C#330D3C

#330D3C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.092 H 319.3°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#330D3C
RGBrgb(51, 13, 60)
HSLhsl(289, 64%, 14%)
HSVhsv(289, 78%, 24%)
CMYKcmyk(15%, 78.3%, 0%, 76.5%)
CIE-LABlab(11.40, 27.03, -21.42)
CIE-LCHlch(11.40, 34.49, 321.60°)
OKLaboklab(24.8% 0.0698 -0.06)
OKLCHoklch(24.8% 0.092 319.3)
XYZxyz(2.3247, 1.3180, 4.4060)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D3C #163C0D
analogous
#1C0D3C #330D3C #3C0D2E
triadic
#330D3C #3C330D #0D3C33
tetradic
#330D3C #3C1C0D #163C0D #0D2E3C
square
#330D3C #3C1C0D #163C0D #0D2E3C
split-complementary
#330D3C #2E3C0D #0D3C1C
monochromatic
#150519 #150519 #330D3C #5E186E #8923A1

Accessibility & contrast

On white

16.62
#330D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330D3C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D3C#FFFFFF#000000##FFFFFF
##330D3C1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3D
Deuteranopia (green-blind)
#10203B
Tritanopia (blue-blind)
#331623
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330d3c;
/* rgb */ color: rgb(51, 13, 60);
/* oklch */ color: oklch(24.8% 0.092 319.3);
Tailwind
colors: {
  custom: {
    50: '#6d4f72',
    500: '#330d3c',
    950: '#000000',
  },
}
SCSS
$custom: #330d3c;
$custom-light: #6d4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#330d3c",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 288.511,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24799,
    "c": 0.09202,
    "h": 319.3
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#330D3C
secondary
#3B782D
accent
#E74060
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #330D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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