#330B3F#330B3F

#330B3F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.098 H 317.2°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#330B3F
RGBrgb(51, 11, 63)
HSLhsl(286, 70%, 15%)
HSVhsv(286, 83%, 25%)
CMYKcmyk(19%, 82.5%, 0%, 75.3%)
CIE-LABlab(11.29, 28.69, -23.73)
CIE-LCHlch(11.29, 37.24, 320.40°)
OKLaboklab(24.79% 0.072 -0.0667)
OKLCHoklch(24.79% 0.098 317.2)
XYZxyz(2.3820, 1.3021, 4.8275)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B3F #173F0B
analogous
#190B3F #330B3F #3F0B31
triadic
#330B3F #3F330B #0B3F33
tetradic
#330B3F #3F190B #173F0B #0B313F
square
#330B3F #3F190B #173F0B #0B313F
split-complementary
#330B3F #313F0B #0B3F19
monochromatic
#15051A #15051A #330B3F #5D1473 #871DA7

Accessibility & contrast

On white

16.66
#330B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B3F
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B3F#FFFFFF#000000##FFFFFF
##330B3F1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#321624
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330b3f;
/* rgb */ color: rgb(51, 11, 63);
/* oklch */ color: oklch(24.8% 0.098 317.2);
Tailwind
colors: {
  custom: {
    50: '#6d4e74',
    500: '#330b3f',
    950: '#000000',
  },
}
SCSS
$custom: #330b3f;
$custom-light: #6d4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#330b3f",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 286.154,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24793,
    "c": 0.09818,
    "h": 317.2
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#330B3F
secondary
#3D7C2A
accent
#ED3B64
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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