#330A34#330A34

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

Color values

HEX#330A34
RGBrgb(51, 10, 52)
HSLhsl(299, 68%, 12%)
HSVhsv(299, 81%, 20%)
CMYKcmyk(1.9%, 80.8%, 0%, 79.6%)
CIE-LABlab(10.33, 26.68, -17.36)
CIE-LCHlch(10.33, 31.83, 326.95°)
OKLaboklab(23.85% 0.0738 -0.0481)
OKLCHoklch(23.85% 0.088 326.9)
XYZxyz(2.0936, 1.1690, 3.3635)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A34 #0B340A
analogous
#1E0A34 #330A34 #340A20
triadic
#330A34 #34330A #0A3433
tetradic
#330A34 #341E0A #0B340A #0A2034
square
#330A34 #341E0A #0B340A #0A2034
split-complementary
#330A34 #20340A #0A341E
monochromatic
#19051A #19051A #330A34 #651467 #981E9B

Accessibility & contrast

On white

17.02
#330A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330A34
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A34#FFFFFF#000000##FFFFFF
##330A341.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#141E33
Tritanopia (blue-blind)
#35101E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330a34;
/* rgb */ color: rgb(51, 10, 52);
/* oklch */ color: oklch(23.8% 0.088 326.9);
Tailwind
colors: {
  custom: {
    50: '#6d4d6b',
    500: '#330a34',
    950: '#000000',
  },
}
SCSS
$custom: #330a34;
$custom-light: #6d4d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330a34",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 298.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23845,
    "c": 0.08814,
    "h": 326.9
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#330A34
secondary
#2A7128
accent
#EB3D41
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330A34

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

Preview Lab → · Contrast checker → · Palette generator →

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