#330F39#330F39

#330F39 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.085 H 321.7°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#330F39
RGBrgb(51, 15, 57)
HSLhsl(291, 58%, 14%)
HSVhsv(291, 74%, 22%)
CMYKcmyk(10.5%, 73.7%, 0%, 77.6%)
CIE-LABlab(11.56, 25.30, -19.02)
CIE-LCHlch(11.56, 31.65, 323.06°)
OKLaboklab(24.84% 0.0671 -0.053)
OKLCHoklch(24.84% 0.085 321.7)
XYZxyz(2.2745, 1.3410, 4.0091)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F39 #15390F
analogous
#1E0F39 #330F39 #390F2A
triadic
#330F39 #39330F #0F3933
tetradic
#330F39 #391E0F #15390F #0F2A39
square
#330F39 #391E0F #15390F #0F2A39
split-complementary
#330F39 #2A390F #0F391E
monochromatic
#160618 #160618 #330F39 #5E1C69 #8A299A

Accessibility & contrast

On white

16.56
#330F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#330F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330F39
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F39#FFFFFF#000000##FFFFFF
##330F391.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061C3A
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#341622
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330f39;
/* rgb */ color: rgb(51, 15, 57);
/* oklch */ color: oklch(24.8% 0.085 321.7);
Tailwind
colors: {
  custom: {
    50: '#6c506f',
    500: '#330f39',
    950: '#000000',
  },
}
SCSS
$custom: #330f39;
$custom-light: #6c506f;
$custom-dark: #000000;
JSON
{
  "hex": "#330f39",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 291.429,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24844,
    "c": 0.08547,
    "h": 321.7
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#330F39
secondary
#3A7330
accent
#E2465C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330F39

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

Preview Lab → · Contrast checker → · Palette generator →

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