#330C41#330C41

#330C41 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.099 H 315.5°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#330C41
RGBrgb(51, 12, 65)
HSLhsl(284, 69%, 15%)
HSVhsv(284, 82%, 25%)
CMYKcmyk(21.5%, 81.5%, 0%, 74.5%)
CIE-LABlab(11.61, 28.70, -24.64)
CIE-LCHlch(11.61, 37.83, 319.36°)
OKLaboklab(25.07% 0.0706 -0.0694)
OKLCHoklch(25.07% 0.099 315.5)
XYZxyz(2.4507, 1.3485, 5.1312)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C41 #1A410C
analogous
#190C41 #330C41 #410C34
triadic
#330C41 #41330C #0C4133
tetradic
#330C41 #41190C #1A410C #0C3441
square
#330C41 #41190C #1A410C #0C3441
split-complementary
#330C41 #34410C #0C4119
monochromatic
#14051A #14051A #330C41 #5C1675 #841FA8

Accessibility & contrast

On white

16.54
#330C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C41
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C41#FFFFFF#000000##FFFFFF
##330C411.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#0B2040
Tritanopia (blue-blind)
#321725
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330c41;
/* rgb */ color: rgb(51, 12, 65);
/* oklch */ color: oklch(25.1% 0.099 315.5);
Tailwind
colors: {
  custom: {
    50: '#6d4f76',
    500: '#330c41',
    950: '#000000',
  },
}
SCSS
$custom: #330c41;
$custom-light: #6d4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#330c41",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 284.151,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2507,
    "c": 0.09898,
    "h": 315.5
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#330C41
secondary
#417D2C
accent
#EC3C6B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330C41

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

Preview Lab → · Contrast checker → · Palette generator →

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