#330B2F#330B2F

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

Color values

HEX#330B2F
RGBrgb(51, 11, 47)
HSLhsl(306, 65%, 12%)
HSVhsv(306, 78%, 20%)
CMYKcmyk(0%, 78.4%, 7.8%, 80%)
CIE-LABlab(10.17, 25.18, -13.95)
CIE-LCHlch(10.17, 28.79, 331.02°)
OKLaboklab(23.63% 0.0722 -0.0382)
OKLCHoklch(23.63% 0.082 332.1)
XYZxyz(1.9980, 1.1485, 2.8052)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B2F #0B330F
analogous
#230B33 #330B2F #330B1B
triadic
#330B2F #2F330B #0B2F33
tetradic
#330B2F #33230B #0B330F #0B1B33
square
#330B2F #33230B #0B330F #0B1B33
split-complementary
#330B2F #1B330B #0B3323
monochromatic
#190517 #190517 #330B2F #65165D #98218C

Accessibility & contrast

On white

17.08
#330B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B2F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B2F#FFFFFF#000000##FFFFFF
##330B2F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#350F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330b2f;
/* rgb */ color: rgb(51, 11, 47);
/* oklch */ color: oklch(23.6% 0.082 332.1);
Tailwind
colors: {
  custom: {
    50: '#6c4e67',
    500: '#330b2f',
    950: '#000000',
  },
}
SCSS
$custom: #330b2f;
$custom-light: #6c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#330b2f",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 306,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2363,
    "c": 0.08167,
    "h": 332.1
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#330B2F
secondary
#2A7031
accent
#E85140
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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