#330B3E#330B3E

#330B3E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.097 H 318.0°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#330B3E
RGBrgb(51, 11, 62)
HSLhsl(287, 70%, 14%)
HSVhsv(287, 82%, 24%)
CMYKcmyk(17.7%, 82.3%, 0%, 75.7%)
CIE-LABlab(11.21, 28.45, -23.15)
CIE-LCHlch(11.21, 36.68, 320.87°)
OKLaboklab(24.71% 0.0721 -0.065)
OKLCHoklch(24.71% 0.097 318)
XYZxyz(2.3543, 1.2911, 4.6817)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B3E #163E0B
analogous
#1A0B3E #330B3E #3E0B30
triadic
#330B3E #3E330B #0B3E33
tetradic
#330B3E #3E1A0B #163E0B #0B303E
square
#330B3E #3E1A0B #163E0B #0B303E
split-complementary
#330B3E #303E0B #0B3E1A
monochromatic
#15051A #15051A #330B3E #5E1472 #891DA6

Accessibility & contrast

On white

16.69
#330B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B3E
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B3E#FFFFFF#000000##FFFFFF
##330B3E1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#0D1F3D
Tritanopia (blue-blind)
#331523
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330b3e;
/* rgb */ color: rgb(51, 11, 62);
/* oklch */ color: oklch(24.7% 0.097 318.0);
Tailwind
colors: {
  custom: {
    50: '#6d4e73',
    500: '#330b3e',
    950: '#000000',
  },
}
SCSS
$custom: #330b3e;
$custom-light: #6d4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#330b3e",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 287.059,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24712,
    "c": 0.09711,
    "h": 318
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#330B3E
secondary
#3B7B2A
accent
#ED3B61
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #330B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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