#330A2E#330A2E

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

Color values

HEX#330A2E
RGBrgb(51, 10, 46)
HSLhsl(307, 67%, 12%)
HSVhsv(307, 80%, 20%)
CMYKcmyk(0%, 80.4%, 9.8%, 80%)
CIE-LABlab(9.94, 25.46, -13.57)
CIE-LCHlch(9.94, 28.85, 331.94°)
OKLaboklab(23.44% 0.0734 -0.0372)
OKLCHoklch(23.44% 0.082 333.2)
XYZxyz(1.9669, 1.1183, 2.6965)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A2E #0A330F
analogous
#240A33 #330A2E #330A1A
triadic
#330A2E #2E330A #0A2E33
tetradic
#330A2E #33240A #0A330F #0A1A33
square
#330A2E #33240A #0A330F #0A1A33
split-complementary
#330A2E #1A330A #0A3324
monochromatic
#1A0517 #1A0517 #330A2E #66145C #991E8A

Accessibility & contrast

On white

17.16
#330A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330A2E
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A2E#FFFFFF#000000##FFFFFF
##330A2E1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#171D2D
Tritanopia (blue-blind)
#360E1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330a2e;
/* rgb */ color: rgb(51, 10, 46);
/* oklch */ color: oklch(23.4% 0.082 333.2);
Tailwind
colors: {
  custom: {
    50: '#6d4d67',
    500: '#330a2e',
    950: '#000000',
  },
}
SCSS
$custom: #330a2e;
$custom-light: #6d4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#330a2e",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 307.317,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23442,
    "c": 0.08231,
    "h": 333.2
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#330A2E
secondary
#287031
accent
#EA533E
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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