#330B46#330B46

#330B46 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.106 H 312.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#330B46
RGBrgb(51, 11, 70)
HSLhsl(281, 73%, 16%)
HSVhsv(281, 84%, 27%)
CMYKcmyk(27.1%, 84.3%, 0%, 72.5%)
CIE-LABlab(11.86, 30.38, -27.75)
CIE-LCHlch(11.86, 41.15, 317.59°)
OKLaboklab(25.38% 0.0709 -0.0785)
OKLCHoklch(25.38% 0.106 312.1)
XYZxyz(2.5902, 1.3854, 5.9241)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B46 #1E460B
analogous
#150B46 #330B46 #460B3B
triadic
#330B46 #46330B #0B4633
tetradic
#330B46 #46150B #1E460B #0B3B46
square
#330B46 #46150B #1E460B #0B3B46
split-complementary
#330B46 #3B460B #0B4615
monochromatic
#13041A #13041A #330B46 #5A137B #801CB0

Accessibility & contrast

On white

16.44
#330B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B46
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B46#FFFFFF#000000##FFFFFF
##330B461.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#042045
Tritanopia (blue-blind)
#311928
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330b46;
/* rgb */ color: rgb(51, 11, 70);
/* oklch */ color: oklch(25.4% 0.106 312.1);
Tailwind
colors: {
  custom: {
    50: '#6d4f7a',
    500: '#330b46',
    950: '#000000',
  },
}
SCSS
$custom: #330b46;
$custom-light: #6d4f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#330b46",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 280.678,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25377,
    "c": 0.10578,
    "h": 312.1
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#330B46
secondary
#47822A
accent
#F03873
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330B46

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

Preview Lab → · Contrast checker → · Palette generator →

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