#330C34#330C34

#330C34 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.085 H 326.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#330C34
RGBrgb(51, 12, 52)
HSLhsl(299, 63%, 13%)
HSVhsv(299, 77%, 20%)
CMYKcmyk(1.9%, 76.9%, 0%, 79.6%)
CIE-LABlab(10.67, 25.73, -16.83)
CIE-LCHlch(10.67, 30.74, 326.82°)
OKLaboklab(24.09% 0.0712 -0.0466)
OKLCHoklch(24.09% 0.085 326.8)
XYZxyz(2.1165, 1.2148, 3.3712)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C34 #0D340C
analogous
#1F0C34 #330C34 #340C21
triadic
#330C34 #34330C #0C3433
tetradic
#330C34 #341F0C #0D340C #0C2134
square
#330C34 #341F0C #0D340C #0C2134
split-complementary
#330C34 #21340C #0C341F
monochromatic
#180619 #180619 #330C34 #641766 #952397

Accessibility & contrast

On white

16.89
#330C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330C34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330C34
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C34#FFFFFF#000000##FFFFFF
##330C341.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A35
Deuteranopia (green-blind)
#151F33
Tritanopia (blue-blind)
#35121E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330c34;
/* rgb */ color: rgb(51, 12, 52);
/* oklch */ color: oklch(24.1% 0.085 326.8);
Tailwind
colors: {
  custom: {
    50: '#6c4e6b',
    500: '#330c34',
    950: '#000000',
  },
}
SCSS
$custom: #330c34;
$custom-light: #6c4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330c34",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 52
  },
  "hsl": {
    "h": 298.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2409,
    "c": 0.08505,
    "h": 326.8
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#330C34
secondary
#2E702C
accent
#E64246
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330C34

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

Preview Lab → · Contrast checker → · Palette generator →

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