#330D3B#330D3B

#330D3B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.091 H 320.2°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#330D3B
RGBrgb(51, 13, 59)
HSLhsl(290, 64%, 14%)
HSVhsv(290, 78%, 23%)
CMYKcmyk(13.6%, 78%, 0%, 76.9%)
CIE-LABlab(11.33, 26.80, -20.82)
CIE-LCHlch(11.33, 33.94, 322.15°)
OKLaboklab(24.72% 0.0698 -0.0582)
OKLCHoklch(24.72% 0.091 320.2)
XYZxyz(2.2985, 1.3075, 4.2681)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D3B #153B0D
analogous
#1C0D3B #330D3B #3B0D2C
triadic
#330D3B #3B330D #0D3B33
tetradic
#330D3B #3B1C0D #153B0D #0D2C3B
square
#330D3B #3B1C0D #153B0D #0D2C3B
split-complementary
#330D3B #2C3B0D #0D3B1C
monochromatic
#160619 #160619 #330D3B #5E186D #8A239F

Accessibility & contrast

On white

16.65
#330D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330D3B
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D3B#FFFFFF#000000##FFFFFF
##330D3B1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3C
Deuteranopia (green-blind)
#111F3A
Tritanopia (blue-blind)
#331522
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330d3b;
/* rgb */ color: rgb(51, 13, 59);
/* oklch */ color: oklch(24.7% 0.091 320.2);
Tailwind
colors: {
  custom: {
    50: '#6d4f71',
    500: '#330d3b',
    950: '#000000',
  },
}
SCSS
$custom: #330d3b;
$custom-light: #6d4f71;
$custom-dark: #000000;
JSON
{
  "hex": "#330d3b",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 289.565,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24723,
    "c": 0.09092,
    "h": 320.2
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#330D3B
secondary
#3A772D
accent
#E7415E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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