#330B2D#330B2D

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

Color values

HEX#330B2D
RGBrgb(51, 11, 45)
HSLhsl(309, 65%, 12%)
HSVhsv(309, 78%, 20%)
CMYKcmyk(0%, 78.4%, 11.8%, 80%)
CIE-LABlab(10.05, 24.79, -12.66)
CIE-LCHlch(10.05, 27.83, 332.95°)
OKLaboklab(23.5% 0.0719 -0.0346)
OKLCHoklch(23.5% 0.08 334.3)
XYZxyz(1.9586, 1.1328, 2.5976)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B2D #0B3311
analogous
#250B33 #330B2D #330B19
triadic
#330B2D #2D330B #0B2D33
tetradic
#330B2D #33250B #0B3311 #0B1933
square
#330B2D #33250B #0B3311 #0B1933
split-complementary
#330B2D #19330B #0B3325
monochromatic
#190516 #190516 #330B2D #651659 #982186

Accessibility & contrast

On white

17.12
#330B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B2D
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B2D#FFFFFF#000000##FFFFFF
##330B2D1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#360E1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330b2d;
/* rgb */ color: rgb(51, 11, 45);
/* oklch */ color: oklch(23.5% 0.080 334.3);
Tailwind
colors: {
  custom: {
    50: '#6c4e66',
    500: '#330b2d',
    950: '#000000',
  },
}
SCSS
$custom: #330b2d;
$custom-light: #6c4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#330b2d",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 309,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23503,
    "c": 0.07977,
    "h": 334.3
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#330B2D
secondary
#2A7035
accent
#E85940
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #330B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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