#330C3A#330C3A

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

Color values

HEX#330C3A
RGBrgb(51, 12, 58)
HSLhsl(291, 66%, 14%)
HSVhsv(291, 79%, 23%)
CMYKcmyk(12.1%, 79.3%, 0%, 77.3%)
CIE-LABlab(11.08, 27.06, -20.50)
CIE-LCHlch(11.08, 33.95, 322.85°)
OKLaboklab(24.52% 0.0712 -0.0573)
OKLCHoklch(24.52% 0.091 321.2)
XYZxyz(2.2603, 1.2724, 4.1287)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C3A #133A0C
analogous
#1C0C3A #330C3A #3A0C2A
triadic
#330C3A #3A330C #0C3A33
tetradic
#330C3A #3A1C0C #133A0C #0C2A3A
square
#330C3A #3A1C0C #133A0C #0C2A3A
split-complementary
#330C3A #2A3A0C #0C3A1C
monochromatic
#160519 #160519 #330C3A #60166D #8C219F

Accessibility & contrast

On white

16.74
#330C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C3A
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C3A#FFFFFF#000000##FFFFFF
##330C3A1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011B3B
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#331421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330c3a;
/* rgb */ color: rgb(51, 12, 58);
/* oklch */ color: oklch(24.5% 0.091 321.2);
Tailwind
colors: {
  custom: {
    50: '#6d4f70',
    500: '#330c3a',
    950: '#000000',
  },
}
SCSS
$custom: #330c3a;
$custom-light: #6d4f70;
$custom-dark: #000000;
JSON
{
  "hex": "#330c3a",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 290.87,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24522,
    "c": 0.09137,
    "h": 321.2
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#330C3A
secondary
#37762C
accent
#E93F59
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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