#330B41#330B41

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

Color values

HEX#330B41
RGBrgb(51, 11, 65)
HSLhsl(284, 71%, 15%)
HSVhsv(284, 83%, 25%)
CMYKcmyk(21.5%, 83.1%, 0%, 74.5%)
CIE-LABlab(11.45, 29.16, -24.90)
CIE-LCHlch(11.45, 38.35, 319.51°)
OKLaboklab(24.96% 0.0718 -0.0701)
OKLCHoklch(24.96% 0.1 315.6)
XYZxyz(2.4389, 1.3249, 5.1273)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B41 #19410B
analogous
#180B41 #330B41 #410B34
triadic
#330B41 #41330B #0B4133
tetradic
#330B41 #41180B #19410B #0B3441
square
#330B41 #41180B #19410B #0B3441
split-complementary
#330B41 #34410B #0B4118
monochromatic
#15041A #15041A #330B41 #5C1475 #851DAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##330B41#FFFFFF#000000##FFFFFF
##330B411.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330b41;
/* rgb */ color: rgb(51, 11, 65);
/* oklch */ color: oklch(25.0% 0.100 315.6);
Tailwind
colors: {
  custom: {
    50: '#6d4f76',
    500: '#330b41',
    950: '#000000',
  },
}
SCSS
$custom: #330b41;
$custom-light: #6d4f76;
$custom-dark: #000000;
JSON
{
  "hex": "#330b41",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 284.444,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24955,
    "c": 0.10034,
    "h": 315.6
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#330B41
secondary
#407E2A
accent
#EE3A69
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330B41

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

Preview Lab → · Contrast checker → · Palette generator →

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