#330332#330332

#330332 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.097 H 329.1°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#330332
RGBrgb(51, 3, 50)
HSLhsl(301, 89%, 11%)
HSVhsv(301, 94%, 20%)
CMYKcmyk(0%, 94.1%, 2%, 80%)
CIE-LABlab(8.99, 29.73, -18.03)
CIE-LCHlch(8.99, 34.77, 328.76°)
OKLaboklab(22.84% 0.0836 -0.05)
OKLCHoklch(22.84% 0.097 329.1)
XYZxyz(1.9735, 0.9994, 3.1060)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330332 #033304
analogous
#1C0333 #330332 #33031A
triadic
#330332 #323303 #033233
tetradic
#330332 #331C03 #033304 #031A33
square
#330332 #331C03 #033304 #031A33
split-complementary
#330332 #1A3303 #03331C
monochromatic
#1D021C #1D021C #330332 #6D066B #A70AA3

Accessibility & contrast

On white

17.50
#330332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330332
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330332#FFFFFF#000000##FFFFFF
##3303321.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#350A1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330332;
/* rgb */ color: rgb(51, 3, 50);
/* oklch */ color: oklch(22.8% 0.097 329.1);
Tailwind
colors: {
  custom: {
    50: '#6d4a6a',
    500: '#330332',
    950: '#000000',
  },
}
SCSS
$custom: #330332;
$custom-light: #6d4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#330332",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 301.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22844,
    "c": 0.09743,
    "h": 329.1
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#330332
secondary
#1C761D
accent
#FF2D29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330332

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

Preview Lab → · Contrast checker → · Palette generator →

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