#330B48#330B48

#330B48 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.108 H 310.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#330B48
RGBrgb(51, 11, 72)
HSLhsl(279, 73%, 16%)
HSVhsv(279, 85%, 28%)
CMYKcmyk(29.2%, 84.7%, 0%, 71.8%)
CIE-LABlab(12.03, 30.87, -28.87)
CIE-LCHlch(12.03, 42.27, 316.92°)
OKLaboklab(25.55% 0.0705 -0.0818)
OKLCHoklch(25.55% 0.108 310.7)
XYZxyz(2.6544, 1.4111, 6.2622)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B48 #20480B
analogous
#150B48 #330B48 #480B3F
triadic
#330B48 #48330B #0B4833
tetradic
#330B48 #48150B #20480B #0B3F48
square
#330B48 #48150B #20480B #0B3F48
split-complementary
#330B48 #3F480B #0B4815
monochromatic
#13041B #13041B #330B48 #59137D #7E1BB2

Accessibility & contrast

On white

16.38
#330B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B48
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B48#FFFFFF#000000##FFFFFF
##330B481.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#012047
Tritanopia (blue-blind)
#301A29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #330b48;
/* rgb */ color: rgb(51, 11, 72);
/* oklch */ color: oklch(25.6% 0.108 310.7);
Tailwind
colors: {
  custom: {
    50: '#6e4f7b',
    500: '#330b48',
    950: '#000000',
  },
}
SCSS
$custom: #330b48;
$custom-light: #6e4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#330b48",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 279.344,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25552,
    "c": 0.10796,
    "h": 310.7
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#330B48
secondary
#49842A
accent
#F03877
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330B48

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

Preview Lab → · Contrast checker → · Palette generator →

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