#330D3F#330D3F

#330D3F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.095 H 316.9°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#330D3F
RGBrgb(51, 13, 63)
HSLhsl(286, 66%, 15%)
HSVhsv(286, 79%, 25%)
CMYKcmyk(19%, 79.4%, 0%, 75.3%)
CIE-LABlab(11.62, 27.74, -23.20)
CIE-LCHlch(11.62, 36.16, 320.10°)
OKLaboklab(25.03% 0.0696 -0.0652)
OKLCHoklch(25.03% 0.095 316.9)
XYZxyz(2.4062, 1.3506, 4.8356)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330D3F #193F0D
analogous
#1A0D3F #330D3F #3F0D32
triadic
#330D3F #3F330D #0D3F33
tetradic
#330D3F #3F1A0D #193F0D #0D323F
square
#330D3F #3F1A0D #193F0D #0D323F
split-complementary
#330D3F #323F0D #0D3F1A
monochromatic
#150519 #150519 #330D3F #5C1772 #8522A4

Accessibility & contrast

On white

16.53
#330D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330D3F
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330D3F#FFFFFF#000000##FFFFFF
##330D3F1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#321724
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330d3f;
/* rgb */ color: rgb(51, 13, 63);
/* oklch */ color: oklch(25.0% 0.095 316.9);
Tailwind
colors: {
  custom: {
    50: '#6d4f74',
    500: '#330d3f',
    950: '#000000',
  },
}
SCSS
$custom: #330d3f;
$custom-light: #6d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#330d3f",
  "rgb": {
    "r": 51,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 285.6,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25031,
    "c": 0.09533,
    "h": 316.9
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#330D3F
secondary
#407B2D
accent
#E93F68
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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