#330C3F#330C3F

#330C3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.097 H 317.0°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#330C3F
RGBrgb(51, 12, 63)
HSLhsl(286, 68%, 15%)
HSVhsv(286, 81%, 25%)
CMYKcmyk(19%, 81%, 0%, 75.3%)
CIE-LABlab(11.45, 28.23, -23.47)
CIE-LCHlch(11.45, 36.71, 320.25°)
OKLaboklab(24.91% 0.0708 -0.066)
OKLCHoklch(24.91% 0.097 317)
XYZxyz(2.3938, 1.3257, 4.8315)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C3F #183F0C
analogous
#190C3F #330C3F #3F0C32
triadic
#330C3F #3F330C #0C3F33
tetradic
#330C3F #3F190C #183F0C #0C323F
square
#330C3F #3F190C #183F0C #0C323F
split-complementary
#330C3F #323F0C #0C3F19
monochromatic
#15051A #15051A #330C3F #5D1672 #8620A6

Accessibility & contrast

On white

16.60
#330C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#330C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330C3F
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C3F#FFFFFF#000000##FFFFFF
##330C3F1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#0D203E
Tritanopia (blue-blind)
#321624
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330c3f;
/* rgb */ color: rgb(51, 12, 63);
/* oklch */ color: oklch(24.9% 0.097 317.0);
Tailwind
colors: {
  custom: {
    50: '#6d4f74',
    500: '#330c3f',
    950: '#000000',
  },
}
SCSS
$custom: #330c3f;
$custom-light: #6d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#330c3f",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 285.882,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24909,
    "c": 0.09679,
    "h": 317
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#330C3F
secondary
#3E7B2C
accent
#EB3D66
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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