#330D38#330D38

#330D38 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.088 H 322.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#330D38
RGBrgb(51, 13, 56)
HSLhsl(293, 62%, 14%)
HSVhsv(293, 77%, 22%)
CMYKcmyk(8.9%, 76.8%, 0%, 78%)
CIE-LABlab(11.12, 26.11, -19.01)
CIE-LCHlch(11.12, 32.29, 323.95°)
OKLaboklab(24.5% 0.0699 -0.0529)
OKLCHoklch(24.5% 0.088 322.9)
XYZxyz(2.2229, 1.2773, 3.8701)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D38 #12380D
analogous
#1D0D38 #330D38 #380D27
triadic
#330D38 #38330D #0D3833
tetradic
#330D38 #381D0D #12380D #0D2738
square
#330D38 #381D0D #12380D #0D2738
split-complementary
#330D38 #27380D #0D381D
monochromatic
#170619 #170619 #330D38 #60196A #8D249B

Accessibility & contrast

On white

16.73
#330D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D38
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D38#FFFFFF#000000##FFFFFF
##330D381.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#341421
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330d38;
/* rgb */ color: rgb(51, 13, 56);
/* oklch */ color: oklch(24.5% 0.088 322.9);
Tailwind
colors: {
  custom: {
    50: '#6c4f6f',
    500: '#330d38',
    950: '#000000',
  },
}
SCSS
$custom: #330d38;
$custom-light: #6c4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330d38",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 293.023,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24502,
    "c": 0.08766,
    "h": 322.9
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#330D38
secondary
#35732D
accent
#E54255
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330D38

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

Preview Lab → · Contrast checker → · Palette generator →

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