#330733#330733

#330733 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.092 H 328.0°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#330733
RGBrgb(51, 7, 51)
HSLhsl(300, 76%, 11%)
HSVhsv(300, 86%, 20%)
CMYKcmyk(0%, 86.3%, 0%, 80%)
CIE-LABlab(9.76, 27.90, -17.54)
CIE-LCHlch(9.76, 32.95, 327.85°)
OKLaboklab(23.42% 0.0778 -0.0486)
OKLCHoklch(23.42% 0.092 328)
XYZxyz(2.0387, 1.0949, 3.2353)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330733 #073307
analogous
#1D0733 #330733 #33071D
triadic
#330733 #333307 #073333
tetradic
#330733 #331D07 #073307 #071D33
square
#330733 #331D07 #073307 #071D33
split-complementary
#330733 #1D3307 #07331D
monochromatic
#1B041B #1B041B #330733 #690E69 #9F169F

Accessibility & contrast

On white

17.23
#330733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#330733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330733
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330733#FFFFFF#000000##FFFFFF
##3307331.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021734
Deuteranopia (green-blind)
#131D32
Tritanopia (blue-blind)
#350E1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330733;
/* rgb */ color: rgb(51, 7, 51);
/* oklch */ color: oklch(23.4% 0.092 328.0);
Tailwind
colors: {
  custom: {
    50: '#6d4c6b',
    500: '#330733',
    950: '#000000',
  },
}
SCSS
$custom: #330733;
$custom-light: #6d4c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330733",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 300,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23416,
    "c": 0.09176,
    "h": 328
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#330733
secondary
#237323
accent
#F23535
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330733

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

Preview Lab → · Contrast checker → · Palette generator →

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