#330D34#330D34

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

Color values

HEX#330D34
RGBrgb(51, 13, 52)
HSLhsl(298, 60%, 13%)
HSVhsv(298, 75%, 20%)
CMYKcmyk(1.9%, 75%, 0%, 79.6%)
CIE-LABlab(10.85, 25.22, -16.54)
CIE-LCHlch(10.85, 30.16, 326.75°)
OKLaboklab(24.22% 0.0697 -0.0458)
OKLCHoklch(24.22% 0.083 326.7)
XYZxyz(2.1290, 1.2397, 3.3753)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D34 #0E340D
analogous
#200D34 #330D34 #340D21
triadic
#330D34 #34330D #0D3433
tetradic
#330D34 #34200D #0E340D #0D2134
square
#330D34 #34200D #0E340D #0D2134
split-complementary
#330D34 #21340D #0D3420
monochromatic
#180618 #180618 #330D34 #631965 #932596

Accessibility & contrast

On white

16.83
#330D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330D34
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D34#FFFFFF#000000##FFFFFF
##330D341.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#161F33
Tritanopia (blue-blind)
#35121F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330d34;
/* rgb */ color: rgb(51, 13, 52);
/* oklch */ color: oklch(24.2% 0.083 326.7);
Tailwind
colors: {
  custom: {
    50: '#6c4f6b',
    500: '#330d34',
    950: '#000000',
  },
}
SCSS
$custom: #330d34;
$custom-light: #6c4f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330d34",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 52
  },
  "hsl": {
    "h": 298.462,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24221,
    "c": 0.08341,
    "h": 326.7
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#330D34
secondary
#2F6F2D
accent
#E34549
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330D34

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

Preview Lab → · Contrast checker → · Palette generator →

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