#330D31#330D31

#330D31 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.080 H 329.9°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#330D31
RGBrgb(51, 13, 49)
HSLhsl(303, 59%, 13%)
HSVhsv(303, 75%, 20%)
CMYKcmyk(0%, 74.5%, 3.9%, 80%)
CIE-LABlab(10.66, 24.58, -14.65)
CIE-LCHlch(10.66, 28.62, 329.20°)
OKLaboklab(24.02% 0.0695 -0.0403)
OKLCHoklch(24.02% 0.08 329.9)
XYZxyz(2.0635, 1.2136, 3.0307)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D31 #0D330F
analogous
#220D33 #330D31 #330D1E
triadic
#330D31 #31330D #0D3133
tetradic
#330D31 #33220D #0D330F #0D1E33
square
#330D31 #33220D #0D330F #0D1E33
split-complementary
#330D31 #1E330D #0D3322
monochromatic
#180617 #180617 #330D31 #641960 #95268F

Accessibility & contrast

On white

16.90
#330D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D31
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D31#FFFFFF#000000##FFFFFF
##330D311.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1932
Deuteranopia (green-blind)
#171F30
Tritanopia (blue-blind)
#35111D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330d31;
/* rgb */ color: rgb(51, 13, 49);
/* oklch */ color: oklch(24.0% 0.080 329.9);
Tailwind
colors: {
  custom: {
    50: '#6c4f69',
    500: '#330d31',
    950: '#000000',
  },
}
SCSS
$custom: #330d31;
$custom-light: #6c4f69;
$custom-dark: #000000;
JSON
{
  "hex": "#330d31",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 303.158,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24021,
    "c": 0.08032,
    "h": 329.9
  },
  "luminance": 0.01213
}

Semantic roles & 50–950 ramp

primary
#330D31
secondary
#2E6E31
accent
#E34E45
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330D31

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

Preview Lab → · Contrast checker → · Palette generator →

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