#330D3E#330D3E

#330D3E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.094 H 317.7°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#330D3E
RGBrgb(51, 13, 62)
HSLhsl(287, 65%, 15%)
HSVhsv(287, 79%, 24%)
CMYKcmyk(17.7%, 79%, 0%, 75.7%)
CIE-LABlab(11.55, 27.50, -22.61)
CIE-LCHlch(11.55, 35.60, 320.58°)
OKLaboklab(24.95% 0.0697 -0.0635)
OKLCHoklch(24.95% 0.094 317.7)
XYZxyz(2.3785, 1.3396, 4.6898)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D3E #183E0D
analogous
#1B0D3E #330D3E #3E0D31
triadic
#330D3E #3E330D #0D3E33
tetradic
#330D3E #3E1B0D #183E0D #0D313E
square
#330D3E #3E1B0D #183E0D #0D313E
split-complementary
#330D3E #313E0D #0D3E1B
monochromatic
#150519 #150519 #330D3E #5D1871 #8622A3

Accessibility & contrast

On white

16.56
#330D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#330D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330D3E
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D3E#FFFFFF#000000##FFFFFF
##330D3E1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#331624
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330d3e;
/* rgb */ color: rgb(51, 13, 62);
/* oklch */ color: oklch(25.0% 0.094 317.7);
Tailwind
colors: {
  custom: {
    50: '#6d4f73',
    500: '#330d3e',
    950: '#000000',
  },
}
SCSS
$custom: #330d3e;
$custom-light: #6d4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#330d3e",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 286.531,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24953,
    "c": 0.09422,
    "h": 317.7
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#330D3E
secondary
#3E7A2D
accent
#E84065
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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