#330D2F#330D2F

#330D2F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.078 H 332.1°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#330D2F
RGBrgb(51, 13, 47)
HSLhsl(306, 59%, 13%)
HSVhsv(306, 75%, 20%)
CMYKcmyk(0%, 74.5%, 7.8%, 80%)
CIE-LABlab(10.54, 24.17, -13.38)
CIE-LCHlch(10.54, 27.63, 331.04°)
OKLaboklab(23.89% 0.0692 -0.0366)
OKLCHoklch(23.89% 0.078 332.1)
XYZxyz(2.0223, 1.1970, 2.8133)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D2F #0D3311
analogous
#240D33 #330D2F #330D1C
triadic
#330D2F #2F330D #0D2F33
tetradic
#330D2F #33240D #0D3311 #0D1C33
square
#330D2F #33240D #0D3311 #0D1C33
split-complementary
#330D2F #1C330D #0D3324
monochromatic
#180616 #180616 #330D2F #64195C #952689

Accessibility & contrast

On white

16.94
#330D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330D2F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D2F#FFFFFF#000000##FFFFFF
##330D2F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#181E2E
Tritanopia (blue-blind)
#35101C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330d2f;
/* rgb */ color: rgb(51, 13, 47);
/* oklch */ color: oklch(23.9% 0.078 332.1);
Tailwind
colors: {
  custom: {
    50: '#6c4f67',
    500: '#330d2f',
    950: '#000000',
  },
}
SCSS
$custom: #330d2f;
$custom-light: #6c4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#330d2f",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 306.316,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23894,
    "c": 0.07833,
    "h": 332.1
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#330D2F
secondary
#2E6E34
accent
#E35645
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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