#330C3D#330C3D

#330C3D is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.095 H 318.6°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#330C3D
RGBrgb(51, 12, 61)
HSLhsl(288, 67%, 14%)
HSVhsv(288, 80%, 24%)
CMYKcmyk(16.4%, 80.3%, 0%, 76.1%)
CIE-LABlab(11.30, 27.75, -22.29)
CIE-LCHlch(11.30, 35.60, 321.23°)
OKLaboklab(24.75% 0.071 -0.0625)
OKLCHoklch(24.75% 0.095 318.6)
XYZxyz(2.3389, 1.3038, 4.5424)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C3D #163D0C
analogous
#1B0C3D #330C3D #3D0C2F
triadic
#330C3D #3D330C #0C3D33
tetradic
#330C3D #3D1B0C #163D0C #0C2F3D
square
#330C3D #3D1B0C #163D0C #0C2F3D
split-complementary
#330C3D #2F3D0C #0C3D1B
monochromatic
#15051A #15051A #330C3D #5E1670 #8920A3

Accessibility & contrast

On white

16.66
#330C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C3D
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C3D#FFFFFF#000000##FFFFFF
##330C3D1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#0F1F3C
Tritanopia (blue-blind)
#331523
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330c3d;
/* rgb */ color: rgb(51, 12, 61);
/* oklch */ color: oklch(24.8% 0.095 318.6);
Tailwind
colors: {
  custom: {
    50: '#6d4f73',
    500: '#330c3d',
    950: '#000000',
  },
}
SCSS
$custom: #330c3d;
$custom-light: #6d4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#330c3d",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 287.755,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24752,
    "c": 0.0946,
    "h": 318.6
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#330C3D
secondary
#3B792C
accent
#EA3E61
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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