#330B2E#330B2E

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

Color values

HEX#330B2E
RGBrgb(51, 11, 46)
HSLhsl(308, 65%, 12%)
HSVhsv(308, 78%, 20%)
CMYKcmyk(0%, 78.4%, 9.8%, 80%)
CIE-LABlab(10.11, 24.98, -13.30)
CIE-LCHlch(10.11, 28.30, 331.96°)
OKLaboklab(23.57% 0.072 -0.0364)
OKLCHoklch(23.57% 0.081 333.2)
XYZxyz(1.9781, 1.1406, 2.7002)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B2E #0B3310
analogous
#240B33 #330B2E #330B1A
triadic
#330B2E #2E330B #0B2E33
tetradic
#330B2E #33240B #0B3310 #0B1A33
square
#330B2E #33240B #0B3310 #0B1A33
split-complementary
#330B2E #1A330B #0B3324
monochromatic
#190517 #190517 #330B2E #65165B #982189

Accessibility & contrast

On white

17.10
#330B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330B2E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B2E#FFFFFF#000000##FFFFFF
##330B2E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#171E2D
Tritanopia (blue-blind)
#360E1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #330b2e;
/* rgb */ color: rgb(51, 11, 46);
/* oklch */ color: oklch(23.6% 0.081 333.2);
Tailwind
colors: {
  custom: {
    50: '#6c4e67',
    500: '#330b2e',
    950: '#000000',
  },
}
SCSS
$custom: #330b2e;
$custom-light: #6c4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#330b2e",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 307.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23566,
    "c": 0.08072,
    "h": 333.2
  },
  "luminance": 0.0114
}

Semantic roles & 50–950 ramp

primary
#330B2E
secondary
#2A7033
accent
#E85540
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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