#330D36#330D36

#330D36 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.086 H 324.7°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#330D36
RGBrgb(51, 13, 54)
HSLhsl(296, 61%, 13%)
HSVhsv(296, 76%, 21%)
CMYKcmyk(5.6%, 75.9%, 0%, 78.8%)
CIE-LABlab(10.98, 25.66, -17.78)
CIE-LCHlch(10.98, 31.22, 325.28°)
OKLaboklab(24.36% 0.0698 -0.0494)
OKLCHoklch(24.36% 0.086 324.7)
XYZxyz(2.1750, 1.2581, 3.6176)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D36 #10360D
analogous
#1E0D36 #330D36 #360D24
triadic
#330D36 #36330D #0D3633
tetradic
#330D36 #361E0D #10360D #0D2436
square
#330D36 #361E0D #10360D #0D2436
split-complementary
#330D36 #24360D #0D361E
monochromatic
#170619 #170619 #330D36 #621967 #902599

Accessibility & contrast

On white

16.78
#330D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#330D36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D36
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D36#FFFFFF#000000##FFFFFF
##330D361.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A37
Deuteranopia (green-blind)
#141F35
Tritanopia (blue-blind)
#341320
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330d36;
/* rgb */ color: rgb(51, 13, 54);
/* oklch */ color: oklch(24.4% 0.086 324.7);
Tailwind
colors: {
  custom: {
    50: '#6c4f6d',
    500: '#330d36',
    950: '#000000',
  },
}
SCSS
$custom: #330d36;
$custom-light: #6c4f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330d36",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 295.61,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2436,
    "c": 0.08552,
    "h": 324.7
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#330D36
secondary
#32712D
accent
#E4434F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #330D36

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

Preview Lab → · Contrast checker → · Palette generator →

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