#330A3A#330A3A

#330A3A is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.094 H 321.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#330A3A
RGBrgb(51, 10, 58)
HSLhsl(291, 71%, 13%)
HSVhsv(291, 83%, 23%)
CMYKcmyk(12.1%, 82.8%, 0%, 77.3%)
CIE-LABlab(10.75, 27.99, -21.03)
CIE-LCHlch(10.75, 35.01, 323.08°)
OKLaboklab(24.29% 0.0737 -0.0588)
OKLCHoklch(24.29% 0.094 321.4)
XYZxyz(2.2374, 1.2265, 4.1211)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A3A #113A0A
analogous
#1B0A3A #330A3A #3A0A29
triadic
#330A3A #3A330A #0A3A33
tetradic
#330A3A #3A1B0A #113A0A #0A293A
square
#330A3A #3A1B0A #113A0A #0A293A
split-complementary
#330A3A #293A0A #0A3A1B
monochromatic
#17051A #17051A #330A3A #61136E #8F1CA2

Accessibility & contrast

On white

16.86
#330A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#330A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330A3A
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A3A#FFFFFF#000000##FFFFFF
##330A3A1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#101E39
Tritanopia (blue-blind)
#341321
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330a3a;
/* rgb */ color: rgb(51, 10, 58);
/* oklch */ color: oklch(24.3% 0.094 321.4);
Tailwind
colors: {
  custom: {
    50: '#6d4e70',
    500: '#330a3a',
    950: '#000000',
  },
}
SCSS
$custom: #330a3a;
$custom-light: #6d4e70;
$custom-dark: #000000;
JSON
{
  "hex": "#330a3a",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 291.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24287,
    "c": 0.09427,
    "h": 321.4
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#330A3A
secondary
#347728
accent
#ED3A55
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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