#330A33#330A33

#330A33 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.087 H 327.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#330A33
RGBrgb(51, 10, 51)
HSLhsl(300, 67%, 12%)
HSVhsv(300, 80%, 20%)
CMYKcmyk(0%, 80.4%, 0%, 80%)
CIE-LABlab(10.26, 26.47, -16.74)
CIE-LCHlch(10.26, 31.32, 327.69°)
OKLaboklab(23.78% 0.0738 -0.0463)
OKLCHoklch(23.78% 0.087 327.9)
XYZxyz(2.0713, 1.1601, 3.2461)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A33 #0A330A
analogous
#1F0A33 #330A33 #330A1F
triadic
#330A33 #33330A #0A3333
tetradic
#330A33 #331F0A #0A330A #0A1F33
square
#330A33 #331F0A #0A330A #0A1F33
split-complementary
#330A33 #1F330A #0A331F
monochromatic
#1A051A #1A051A #330A33 #661466 #991E99

Accessibility & contrast

On white

17.05
#330A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#330A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A33
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A33#FFFFFF#000000##FFFFFF
##330A331.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051934
Deuteranopia (green-blind)
#141E32
Tritanopia (blue-blind)
#35101D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330a33;
/* rgb */ color: rgb(51, 10, 51);
/* oklch */ color: oklch(23.8% 0.087 327.9);
Tailwind
colors: {
  custom: {
    50: '#6d4d6b',
    500: '#330a33',
    950: '#000000',
  },
}
SCSS
$custom: #330a33;
$custom-light: #6d4d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330a33",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 300,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23776,
    "c": 0.08714,
    "h": 327.9
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#330A33
secondary
#287028
accent
#EA3E3E
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330A33

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

Preview Lab → · Contrast checker → · Palette generator →

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