#330B3D#330B3D

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

Color values

HEX#330B3D
RGBrgb(51, 11, 61)
HSLhsl(288, 69%, 14%)
HSVhsv(288, 82%, 24%)
CMYKcmyk(16.4%, 82%, 0%, 76.1%)
CIE-LABlab(11.14, 28.22, -22.56)
CIE-LCHlch(11.14, 36.13, 321.36°)
OKLaboklab(24.63% 0.0722 -0.0633)
OKLCHoklch(24.63% 0.096 318.8)
XYZxyz(2.3271, 1.2802, 4.5385)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B3D #153D0B
analogous
#1A0B3D #330B3D #3D0B2E
triadic
#330B3D #3D330B #0B3D33
tetradic
#330B3D #3D1A0B #153D0B #0B2E3D
square
#330B3D #3D1A0B #153D0B #0B2E3D
split-complementary
#330B3D #2E3D0B #0B3D1A
monochromatic
#16051A #16051A #330B3D #5E1471 #8A1EA5

Accessibility & contrast

On white

16.72
#330B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B3D
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B3D#FFFFFF#000000##FFFFFF
##330B3D1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#0E1F3C
Tritanopia (blue-blind)
#331523
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330b3d;
/* rgb */ color: rgb(51, 11, 61);
/* oklch */ color: oklch(24.6% 0.096 318.8);
Tailwind
colors: {
  custom: {
    50: '#6d4e73',
    500: '#330b3d',
    950: '#000000',
  },
}
SCSS
$custom: #330b3d;
$custom-light: #6d4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#330b3d",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 288,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24633,
    "c": 0.09604,
    "h": 318.8
  },
  "luminance": 0.0128
}

Semantic roles & 50–950 ramp

primary
#330B3D
secondary
#3A7A2A
accent
#EC3C5F
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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