#330C3B#330C3B

#330C3B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.092 H 320.3°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#330C3B
RGBrgb(51, 12, 59)
HSLhsl(290, 66%, 14%)
HSVhsv(290, 80%, 23%)
CMYKcmyk(13.6%, 79.7%, 0%, 76.9%)
CIE-LABlab(11.15, 27.29, -21.10)
CIE-LCHlch(11.15, 34.49, 322.29°)
OKLaboklab(24.6% 0.0711 -0.059)
OKLCHoklch(24.6% 0.092 320.3)
XYZxyz(2.2860, 1.2826, 4.2640)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C3B #143B0C
analogous
#1C0C3B #330C3B #3B0C2C
triadic
#330C3B #3B330C #0C3B33
tetradic
#330C3B #3B1C0C #143B0C #0C2C3B
square
#330C3B #3B1C0C #143B0C #0C2C3B
split-complementary
#330C3B #2C3B0C #0C3B1C
monochromatic
#160519 #160519 #330C3B #5F166E #8B21A1

Accessibility & contrast

On white

16.71
#330C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C3B
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C3B#FFFFFF#000000##FFFFFF
##330C3B1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#331522
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330c3b;
/* rgb */ color: rgb(51, 12, 59);
/* oklch */ color: oklch(24.6% 0.092 320.3);
Tailwind
colors: {
  custom: {
    50: '#6d4f71',
    500: '#330c3b',
    950: '#000000',
  },
}
SCSS
$custom: #330c3b;
$custom-light: #6d4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#330c3b",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 289.787,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24598,
    "c": 0.09244,
    "h": 320.3
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#330C3B
secondary
#39772C
accent
#E93F5C
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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