#330A36#330A36

#330A36 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.090 H 325.0°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#330A36
RGBrgb(51, 10, 54)
HSLhsl(296, 69%, 13%)
HSVhsv(296, 81%, 21%)
CMYKcmyk(5.6%, 81.5%, 0%, 78.8%)
CIE-LABlab(10.46, 27.11, -18.60)
CIE-LCHlch(10.46, 32.88, 325.55°)
OKLaboklab(23.99% 0.0739 -0.0517)
OKLCHoklch(23.99% 0.09 325)
XYZxyz(2.1396, 1.1874, 3.6058)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A36 #0D360A
analogous
#1D0A36 #330A36 #360A23
triadic
#330A36 #36330A #0A3633
tetradic
#330A36 #361D0A #0D360A #0A2336
square
#330A36 #361D0A #0D360A #0A2336
split-complementary
#330A36 #23360A #0A361D
monochromatic
#18051A #18051A #330A36 #64146A #951D9D

Accessibility & contrast

On white

16.97
#330A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A36
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A36#FFFFFF#000000##FFFFFF
##330A361.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#131E35
Tritanopia (blue-blind)
#34111F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330a36;
/* rgb */ color: rgb(51, 10, 54);
/* oklch */ color: oklch(24.0% 0.090 325.0);
Tailwind
colors: {
  custom: {
    50: '#6d4e6d',
    500: '#330a36',
    950: '#000000',
  },
}
SCSS
$custom: #330a36;
$custom-light: #6d4e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330a36",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 295.909,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23989,
    "c": 0.09015,
    "h": 325
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#330A36
secondary
#2E7328
accent
#EC3C48
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #330A36

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

Preview Lab → · Contrast checker → · Palette generator →

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