#330D33#330D33

#330D33 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.082 H 327.8°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#330D33
RGBrgb(51, 13, 51)
HSLhsl(300, 59%, 13%)
HSVhsv(300, 75%, 20%)
CMYKcmyk(0%, 74.5%, 0%, 80%)
CIE-LABlab(10.78, 25.01, -15.91)
CIE-LCHlch(10.78, 29.64, 327.53°)
OKLaboklab(24.15% 0.0697 -0.044)
OKLCHoklch(24.15% 0.082 327.8)
XYZxyz(2.1067, 1.2308, 3.2579)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D33 #0D330D
analogous
#200D33 #330D33 #330D20
triadic
#330D33 #33330D #0D3333
tetradic
#330D33 #33200D #0D330D #0D2033
square
#330D33 #33200D #0D330D #0D2033
split-complementary
#330D33 #20330D #0D3320
monochromatic
#180618 #180618 #330D33 #641964 #952695

Accessibility & contrast

On white

16.85
#330D33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330D33
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D33#FFFFFF#000000##FFFFFF
##330D331.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A34
Deuteranopia (green-blind)
#161F32
Tritanopia (blue-blind)
#35121E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330d33;
/* rgb */ color: rgb(51, 13, 51);
/* oklch */ color: oklch(24.2% 0.082 327.8);
Tailwind
colors: {
  custom: {
    50: '#6c4f6b',
    500: '#330d33',
    950: '#000000',
  },
}
SCSS
$custom: #330d33;
$custom-light: #6c4f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330d33",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 51
  },
  "hsl": {
    "h": 300,
    "s": 59.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24154,
    "c": 0.08237,
    "h": 327.8
  },
  "luminance": 0.01231
}

Semantic roles & 50–950 ramp

primary
#330D33
secondary
#2E6E2E
accent
#E34545
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330D33

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

Preview Lab → · Contrast checker → · Palette generator →

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