#330C39#330C39

#330C39 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.090 H 322.1°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#330C39
RGBrgb(51, 12, 57)
HSLhsl(292, 65%, 14%)
HSVhsv(292, 79%, 22%)
CMYKcmyk(10.5%, 78.9%, 0%, 77.6%)
CIE-LABlab(11.01, 26.83, -19.90)
CIE-LCHlch(11.01, 33.40, 323.44°)
OKLaboklab(24.45% 0.0712 -0.0555)
OKLCHoklch(24.45% 0.09 322.1)
XYZxyz(2.2352, 1.2623, 3.9960)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C39 #12390C
analogous
#1C0C39 #330C39 #390C28
triadic
#330C39 #39330C #0C3933
tetradic
#330C39 #391C0C #12390C #0C2839
square
#330C39 #391C0C #12390C #0C2839
split-complementary
#330C39 #28390C #0C391C
monochromatic
#170519 #170519 #330C39 #60176C #8D219E

Accessibility & contrast

On white

16.77
#330C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C39
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C39#FFFFFF#000000##FFFFFF
##330C391.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#121F38
Tritanopia (blue-blind)
#341421
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330c39;
/* rgb */ color: rgb(51, 12, 57);
/* oklch */ color: oklch(24.4% 0.090 322.1);
Tailwind
colors: {
  custom: {
    50: '#6d4f6f',
    500: '#330c39',
    950: '#000000',
  },
}
SCSS
$custom: #330c39;
$custom-light: #6d4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330c39",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 292,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24448,
    "c": 0.0903,
    "h": 322.1
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#330C39
secondary
#35752C
accent
#E84056
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330C39

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

Preview Lab → · Contrast checker → · Palette generator →

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