#330B45#330B45

#330B45 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.105 H 312.8°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#330B45
RGBrgb(51, 11, 69)
HSLhsl(281, 73%, 16%)
HSVhsv(281, 84%, 27%)
CMYKcmyk(26.1%, 84.1%, 0%, 72.9%)
CIE-LABlab(11.78, 30.13, -27.19)
CIE-LCHlch(11.78, 40.58, 317.94°)
OKLaboklab(25.29% 0.0711 -0.0769)
OKLCHoklch(25.29% 0.105 312.8)
XYZxyz(2.5589, 1.3729, 5.7593)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B45 #1D450B
analogous
#160B45 #330B45 #450B3A
triadic
#330B45 #45330B #0B4533
tetradic
#330B45 #45160B #1D450B #0B3A45
square
#330B45 #45160B #1D450B #0B3A45
split-complementary
#330B45 #3A450B #0B4516
monochromatic
#14041A #14041A #330B45 #5A137A #811CAF

Accessibility & contrast

On white

16.48
#330B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B45
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B45#FFFFFF#000000##FFFFFF
##330B451.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#052044
Tritanopia (blue-blind)
#311827
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330b45;
/* rgb */ color: rgb(51, 11, 69);
/* oklch */ color: oklch(25.3% 0.105 312.8);
Tailwind
colors: {
  custom: {
    50: '#6d4f79',
    500: '#330b45',
    950: '#000000',
  },
}
SCSS
$custom: #330b45;
$custom-light: #6d4f79;
$custom-dark: #000000;
JSON
{
  "hex": "#330b45",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 281.379,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25291,
    "c": 0.10468,
    "h": 312.8
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#330B45
secondary
#45812A
accent
#EF3971
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330B45

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

Preview Lab → · Contrast checker → · Palette generator →

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