#330A2D#330A2D

#330A2D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.081 H 334.3°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#330A2D
RGBrgb(51, 10, 45)
HSLhsl(309, 67%, 12%)
HSVhsv(309, 80%, 20%)
CMYKcmyk(0%, 80.4%, 11.8%, 80%)
CIE-LABlab(9.88, 25.27, -12.93)
CIE-LCHlch(9.88, 28.38, 332.91°)
OKLaboklab(23.38% 0.0733 -0.0353)
OKLCHoklch(23.38% 0.081 334.3)
XYZxyz(1.9475, 1.1105, 2.5939)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A2D #0A3310
analogous
#250A33 #330A2D #330A19
triadic
#330A2D #2D330A #0A2D33
tetradic
#330A2D #33250A #0A3310 #0A1933
square
#330A2D #33250A #0A3310 #0A1933
split-complementary
#330A2D #19330A #0A3325
monochromatic
#1A0517 #1A0517 #330A2D #66145A #991E87

Accessibility & contrast

On white

17.18
#330A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#330A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A2D
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A2D#FFFFFF#000000##FFFFFF
##330A2D1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172E
Deuteranopia (green-blind)
#171D2C
Tritanopia (blue-blind)
#360D1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330a2d;
/* rgb */ color: rgb(51, 10, 45);
/* oklch */ color: oklch(23.4% 0.081 334.3);
Tailwind
colors: {
  custom: {
    50: '#6d4d66',
    500: '#330a2d',
    950: '#000000',
  },
}
SCSS
$custom: #330a2d;
$custom-light: #6d4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#330a2d",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 308.78,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23378,
    "c": 0.08137,
    "h": 334.3
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#330A2D
secondary
#287033
accent
#EA573E
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #330A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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