#330732#330732

#330732 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.091 H 329.0°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#330732
RGBrgb(51, 7, 50)
HSLhsl(301, 76%, 11%)
HSVhsv(301, 86%, 20%)
CMYKcmyk(0%, 86.3%, 2%, 80%)
CIE-LABlab(9.69, 27.69, -16.91)
CIE-LCHlch(9.69, 32.45, 328.59°)
OKLaboklab(23.35% 0.0778 -0.0468)
OKLCHoklch(23.35% 0.091 329)
XYZxyz(2.0169, 1.0862, 3.1204)
Luminance0.0109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330732 #073308
analogous
#1E0733 #330732 #33071C
triadic
#330732 #323307 #073233
tetradic
#330732 #331E07 #073308 #071C33
square
#330732 #331E07 #073308 #071C33
split-complementary
#330732 #1C3307 #07331E
monochromatic
#1B041A #1B041A #330732 #690E67 #9F169C

Accessibility & contrast

On white

17.25
#330732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330732
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330732#FFFFFF#000000##FFFFFF
##3307321.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021733
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#350D1C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330732;
/* rgb */ color: rgb(51, 7, 50);
/* oklch */ color: oklch(23.3% 0.091 329.0);
Tailwind
colors: {
  custom: {
    50: '#6d4c6a',
    500: '#330732',
    950: '#000000',
  },
}
SCSS
$custom: #330732;
$custom-light: #6d4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#330732",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 301.364,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23345,
    "c": 0.09082,
    "h": 329
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#330732
secondary
#237325
accent
#F23A35
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330732

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

Preview Lab → · Contrast checker → · Palette generator →

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