#330E31#330E31

#330E31 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.079 H 329.9°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#330E31
RGBrgb(51, 14, 49)
HSLhsl(303, 57%, 13%)
HSVhsv(303, 73%, 20%)
CMYKcmyk(0%, 72.5%, 3.9%, 80%)
CIE-LABlab(10.85, 24.06, -14.35)
CIE-LCHlch(10.85, 28.01, 329.18°)
OKLaboklab(24.16% 0.068 -0.0394)
OKLCHoklch(24.16% 0.079 329.9)
XYZxyz(2.0766, 1.2398, 3.0351)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E31 #0E3310
analogous
#220E33 #330E31 #330E1E
triadic
#330E31 #31330E #0E3133
tetradic
#330E31 #33220E #0E3310 #0E1E33
square
#330E31 #33220E #0E3310 #0E1E33
split-complementary
#330E31 #1E330E #0E3322
monochromatic
#180717 #180717 #330E31 #631B5F #93288D

Accessibility & contrast

On white

16.83
#330E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330E31
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E31#FFFFFF#000000##FFFFFF
##330E311.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1A32
Deuteranopia (green-blind)
#181F30
Tritanopia (blue-blind)
#35121D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330e31;
/* rgb */ color: rgb(51, 14, 49);
/* oklch */ color: oklch(24.2% 0.079 329.9);
Tailwind
colors: {
  custom: {
    50: '#6c4f69',
    500: '#330e31',
    950: '#000000',
  },
}
SCSS
$custom: #330e31;
$custom-light: #6c4f69;
$custom-dark: #000000;
JSON
{
  "hex": "#330e31",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 303.243,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2416,
    "c": 0.0786,
    "h": 329.9
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#330E31
secondary
#2F6E33
accent
#E05048
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330E31

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

Preview Lab → · Contrast checker → · Palette generator →

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