#330B38#330B38

#330B38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.091 H 323.1°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#330B38
RGBrgb(51, 11, 56)
HSLhsl(293, 67%, 13%)
HSVhsv(293, 80%, 22%)
CMYKcmyk(8.9%, 80.4%, 0%, 78%)
CIE-LABlab(10.77, 27.09, -19.56)
CIE-LCHlch(10.77, 33.41, 324.17°)
OKLaboklab(24.25% 0.0725 -0.0545)
OKLCHoklch(24.25% 0.091 323.1)
XYZxyz(2.1987, 1.2288, 3.8620)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330B38 #10380B
analogous
#1C0B38 #330B38 #380B26
triadic
#330B38 #38330B #0B3833
tetradic
#330B38 #381C0B #10380B #0B2638
square
#330B38 #381C0B #10380B #0B2638
split-complementary
#330B38 #26380B #0B381C
monochromatic
#17051A #17051A #330B38 #62156B #901F9E

Accessibility & contrast

On white

16.86
#330B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#330B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330B38
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330B38#FFFFFF#000000##FFFFFF
##330B381.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#121F37
Tritanopia (blue-blind)
#341320
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330b38;
/* rgb */ color: rgb(51, 11, 56);
/* oklch */ color: oklch(24.3% 0.091 323.1);
Tailwind
colors: {
  custom: {
    50: '#6d4e6f',
    500: '#330b38',
    950: '#000000',
  },
}
SCSS
$custom: #330b38;
$custom-light: #6d4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330b38",
  "rgb": {
    "r": 51,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 293.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24252,
    "c": 0.09075,
    "h": 323.1
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#330B38
secondary
#32752A
accent
#EA3E51
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330B38

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

Preview Lab → · Contrast checker → · Palette generator →

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