#330333#330333

#330333 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.098 H 328.2°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#330333
RGBrgb(51, 3, 51)
HSLhsl(300, 89%, 11%)
HSVhsv(300, 94%, 20%)
CMYKcmyk(0%, 94.1%, 0%, 80%)
CIE-LABlab(9.06, 29.92, -18.65)
CIE-LCHlch(9.06, 35.25, 328.06°)
OKLaboklab(22.92% 0.0836 -0.0518)
OKLCHoklch(22.92% 0.098 328.2)
XYZxyz(1.9953, 1.0081, 3.2208)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330333 #033303
analogous
#1B0333 #330333 #33031B
triadic
#330333 #333303 #033333
tetradic
#330333 #331B03 #033303 #031B33
square
#330333 #331B03 #033303 #031B33
split-complementary
#330333 #1B3303 #03331B
monochromatic
#1D021D #1D021D #330333 #6D066D #A70AA7

Accessibility & contrast

On white

17.48
#330333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330333
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330333#FFFFFF#000000##FFFFFF
##3303331.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#111C32
Tritanopia (blue-blind)
#350A1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330333;
/* rgb */ color: rgb(51, 3, 51);
/* oklch */ color: oklch(22.9% 0.098 328.2);
Tailwind
colors: {
  custom: {
    50: '#6d4a6b',
    500: '#330333',
    950: '#000000',
  },
}
SCSS
$custom: #330333;
$custom-light: #6d4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330333",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 300,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22919,
    "c": 0.09831,
    "h": 328.2
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#330333
secondary
#1C761C
accent
#FF2929
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330333

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

Preview Lab → · Contrast checker → · Palette generator →

#330333 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva