#330B47#330B47

#330B47 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.107 H 311.4°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#330B47
RGBrgb(51, 11, 71)
HSLhsl(280, 73%, 16%)
HSVhsv(280, 85%, 28%)
CMYKcmyk(28.2%, 84.5%, 0%, 72.2%)
CIE-LABlab(11.95, 30.62, -28.31)
CIE-LCHlch(11.95, 41.70, 317.25°)
OKLaboklab(25.46% 0.0707 -0.0802)
OKLCHoklch(25.46% 0.107 311.4)
XYZxyz(2.6220, 1.3982, 6.0918)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B47 #1F470B
analogous
#150B47 #330B47 #470B3D
triadic
#330B47 #47330B #0B4733
tetradic
#330B47 #47150B #1F470B #0B3D47
square
#330B47 #47150B #1F470B #0B3D47
split-complementary
#330B47 #3D470B #0B4715
monochromatic
#13041A #13041A #330B47 #59137C #7F1BB1

Accessibility & contrast

On white

16.41
#330B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#330B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B47
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B47#FFFFFF#000000##FFFFFF
##330B471.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#022046
Tritanopia (blue-blind)
#301928
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330b47;
/* rgb */ color: rgb(51, 11, 71);
/* oklch */ color: oklch(25.5% 0.107 311.4);
Tailwind
colors: {
  custom: {
    50: '#6e4f7b',
    500: '#330b47',
    950: '#000000',
  },
}
SCSS
$custom: #330b47;
$custom-light: #6e4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#330b47",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 280,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25464,
    "c": 0.10687,
    "h": 311.4
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#330B47
secondary
#48832A
accent
#F03875
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330B47

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

Preview Lab → · Contrast checker → · Palette generator →

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