#330C3C#330C3C

#330C3C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.094 H 319.5°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#330C3C
RGBrgb(51, 12, 60)
HSLhsl(289, 67%, 14%)
HSVhsv(289, 80%, 24%)
CMYKcmyk(15%, 80%, 0%, 76.5%)
CIE-LABlab(11.23, 27.52, -21.70)
CIE-LCHlch(11.23, 35.04, 321.74°)
OKLaboklab(24.67% 0.0711 -0.0608)
OKLCHoklch(24.67% 0.094 319.5)
XYZxyz(2.3122, 1.2931, 4.4019)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C3C #153C0C
analogous
#1B0C3C #330C3C #3C0C2D
triadic
#330C3C #3C330C #0C3C33
tetradic
#330C3C #3C1B0C #153C0C #0C2D3C
square
#330C3C #3C1B0C #153C0C #0C2D3C
split-complementary
#330C3C #2D3C0C #0C3C1B
monochromatic
#16051A #16051A #330C3C #5E166F #8A20A2

Accessibility & contrast

On white

16.69
#330C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C3C
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C3C#FFFFFF#000000##FFFFFF
##330C3C1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#101F3B
Tritanopia (blue-blind)
#331523
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330c3c;
/* rgb */ color: rgb(51, 12, 60);
/* oklch */ color: oklch(24.7% 0.094 319.5);
Tailwind
colors: {
  custom: {
    50: '#6d4f72',
    500: '#330c3c',
    950: '#000000',
  },
}
SCSS
$custom: #330c3c;
$custom-light: #6d4f72;
$custom-dark: #000000;
JSON
{
  "hex": "#330c3c",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 60
  },
  "hsl": {
    "h": 288.75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24674,
    "c": 0.09352,
    "h": 319.5
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#330C3C
secondary
#3A782C
accent
#EA3E5E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #330C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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