#330F3C#330F3C

#330F3C is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.089 H 319.0°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#330F3C
RGBrgb(51, 15, 60)
HSLhsl(288, 60%, 15%)
HSVhsv(288, 75%, 24%)
CMYKcmyk(15%, 75%, 0%, 76.5%)
CIE-LABlab(11.77, 26.00, -20.83)
CIE-LCHlch(11.77, 33.32, 321.30°)
OKLaboklab(25.06% 0.0671 -0.0583)
OKLCHoklch(25.06% 0.089 319)
XYZxyz(2.3516, 1.3718, 4.4150)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330F3C #183C0F
analogous
#1D0F3C #330F3C #3C0F2F
triadic
#330F3C #3C330F #0F3C33
tetradic
#330F3C #3C1D0F #183C0F #0F2F3C
square
#330F3C #3C1D0F #183C0F #0F2F3C
split-complementary
#330F3C #2F3C0F #0F3C1D
monochromatic
#150618 #150618 #330F3C #5D1B6D #86279E

Accessibility & contrast

On white

16.48
#330F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330F3C
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330F3C#FFFFFF#000000##FFFFFF
##330F3C1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#12203B
Tritanopia (blue-blind)
#331723
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330f3c;
/* rgb */ color: rgb(51, 15, 60);
/* oklch */ color: oklch(25.1% 0.089 319.0);
Tailwind
colors: {
  custom: {
    50: '#6c5072',
    500: '#330f3c',
    950: '#000000',
  },
}
SCSS
$custom: #330f3c;
$custom-light: #6c5072;
$custom-dark: #000000;
JSON
{
  "hex": "#330f3c",
  "rgb": {
    "r": 51,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 288,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25063,
    "c": 0.08885,
    "h": 319
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#330F3C
secondary
#3E7630
accent
#E34564
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #330F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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