#330B31#330B31

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

Color values

HEX#330B31
RGBrgb(51, 11, 49)
HSLhsl(303, 65%, 12%)
HSVhsv(303, 78%, 20%)
CMYKcmyk(0%, 78.4%, 3.9%, 80%)
CIE-LABlab(10.30, 25.59, -15.22)
CIE-LCHlch(10.30, 29.77, 329.26°)
OKLaboklab(23.76% 0.0724 -0.0419)
OKLCHoklch(23.76% 0.084 329.9)
XYZxyz(2.0393, 1.1651, 3.0226)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B31 #0B330D
analogous
#210B33 #330B31 #330B1D
triadic
#330B31 #31330B #0B3133
tetradic
#330B31 #33210B #0B330D #0B1D33
square
#330B31 #33210B #0B330D #0B1D33
split-complementary
#330B31 #1D330B #0B3321
monochromatic
#190518 #190518 #330B31 #651661 #982192

Accessibility & contrast

On white

17.03
#330B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B31
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B31#FFFFFF#000000##FFFFFF
##330B311.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071932
Deuteranopia (green-blind)
#161E30
Tritanopia (blue-blind)
#35101C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330b31;
/* rgb */ color: rgb(51, 11, 49);
/* oklch */ color: oklch(23.8% 0.084 329.9);
Tailwind
colors: {
  custom: {
    50: '#6c4e69',
    500: '#330b31',
    950: '#000000',
  },
}
SCSS
$custom: #330b31;
$custom-light: #6c4e69;
$custom-dark: #000000;
JSON
{
  "hex": "#330b31",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 303,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23761,
    "c": 0.08362,
    "h": 329.9
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#330B31
secondary
#2A702E
accent
#E84940
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330B31

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

Preview Lab → · Contrast checker → · Palette generator →

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