#330F2F#330F2F

#330F2F is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.2% C 0.075 H 332.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#330F2F
RGBrgb(51, 15, 47)
HSLhsl(307, 55%, 13%)
HSVhsv(307, 71%, 20%)
CMYKcmyk(0%, 70.6%, 7.8%, 80%)
CIE-LABlab(10.93, 23.10, -12.76)
CIE-LCHlch(10.93, 26.39, 331.07°)
OKLaboklab(24.18% 0.0661 -0.0349)
OKLCHoklch(24.18% 0.075 332.2)
XYZxyz(2.0492, 1.2508, 2.8223)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F2F #0F3313
analogous
#250F33 #330F2F #330F1D
triadic
#330F2F #2F330F #0F2F33
tetradic
#330F2F #33250F #0F3313 #0F1D33
square
#330F2F #33250F #0F3313 #0F1D33
split-complementary
#330F2F #1D330F #0F3325
monochromatic
#180716 #180716 #330F2F #621D5B #922B86

Accessibility & contrast

On white

16.80
#330F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330F2F
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F2F#FFFFFF#000000##FFFFFF
##330F2F1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A30
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#35121D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330f2f;
/* rgb */ color: rgb(51, 15, 47);
/* oklch */ color: oklch(24.2% 0.075 332.2);
Tailwind
colors: {
  custom: {
    50: '#6c5067',
    500: '#330f2f',
    950: '#000000',
  },
}
SCSS
$custom: #330f2f;
$custom-light: #6c5067;
$custom-dark: #000000;
JSON
{
  "hex": "#330f2f",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 306.667,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2418,
    "c": 0.07476,
    "h": 332.2
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#330F2F
secondary
#316D37
accent
#DE5A4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #330F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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