#330F31#330F31

#330F31 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.3% C 0.077 H 329.9°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#330F31
RGBrgb(51, 15, 49)
HSLhsl(303, 55%, 13%)
HSVhsv(303, 71%, 20%)
CMYKcmyk(0%, 70.6%, 3.9%, 80%)
CIE-LABlab(11.04, 23.52, -14.04)
CIE-LCHlch(11.04, 27.39, 329.16°)
OKLaboklab(24.3% 0.0664 -0.0386)
OKLCHoklch(24.3% 0.077 329.9)
XYZxyz(2.0904, 1.2673, 3.0397)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F31 #0F3311
analogous
#230F33 #330F31 #330F1F
triadic
#330F31 #31330F #0F3133
tetradic
#330F31 #33230F #0F3311 #0F1F33
square
#330F31 #33230F #0F3311 #0F1F33
split-complementary
#330F31 #1F330F #0F3323
monochromatic
#180717 #180717 #330F31 #621D5E #922B8C

Accessibility & contrast

On white

16.75
#330F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330F31
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F31#FFFFFF#000000##FFFFFF
##330F311.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A32
Deuteranopia (green-blind)
#181F30
Tritanopia (blue-blind)
#35131E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330f31;
/* rgb */ color: rgb(51, 15, 49);
/* oklch */ color: oklch(24.3% 0.077 329.9);
Tailwind
colors: {
  custom: {
    50: '#6c5069',
    500: '#330f31',
    950: '#000000',
  },
}
SCSS
$custom: #330f31;
$custom-light: #6c5069;
$custom-dark: #000000;
JSON
{
  "hex": "#330f31",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 303.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24304,
    "c": 0.07681,
    "h": 329.9
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#330F31
secondary
#316D34
accent
#DE524A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330F31

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

Preview Lab → · Contrast checker → · Palette generator →

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