#330C33#330C33

#330C33 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.084 H 327.8°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#330C33
RGBrgb(51, 12, 51)
HSLhsl(300, 62%, 12%)
HSVhsv(300, 76%, 20%)
CMYKcmyk(0%, 76.5%, 0%, 80%)
CIE-LABlab(10.60, 25.51, -16.20)
CIE-LCHlch(10.60, 30.22, 327.59°)
OKLaboklab(24.02% 0.0711 -0.0448)
OKLCHoklch(24.02% 0.084 327.8)
XYZxyz(2.0942, 1.2059, 3.2538)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C33 #0C330C
analogous
#200C33 #330C33 #330C20
triadic
#330C33 #33330C #0C3333
tetradic
#330C33 #33200C #0C330C #0C2033
square
#330C33 #33200C #0C330C #0C2033
split-complementary
#330C33 #20330C #0C3320
monochromatic
#190619 #190619 #330C33 #651865 #962396

Accessibility & contrast

On white

16.92
#330C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C33
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C33#FFFFFF#000000##FFFFFF
##330C331.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071934
Deuteranopia (green-blind)
#161E32
Tritanopia (blue-blind)
#35111E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330c33;
/* rgb */ color: rgb(51, 12, 51);
/* oklch */ color: oklch(24.0% 0.084 327.8);
Tailwind
colors: {
  custom: {
    50: '#6c4e6b',
    500: '#330c33',
    950: '#000000',
  },
}
SCSS
$custom: #330c33;
$custom-light: #6c4e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330c33",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 300,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24022,
    "c": 0.08402,
    "h": 327.8
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#330C33
secondary
#2C6F2C
accent
#E54343
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330C33

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

Preview Lab → · Contrast checker → · Palette generator →

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