#330C38#330C38

#330C38 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.089 H 323.0°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#330C38
RGBrgb(51, 12, 56)
HSLhsl(293, 65%, 13%)
HSVhsv(293, 79%, 22%)
CMYKcmyk(8.9%, 78.6%, 0%, 78%)
CIE-LABlab(10.94, 26.61, -19.29)
CIE-LCHlch(10.94, 32.86, 324.06°)
OKLaboklab(24.37% 0.0712 -0.0537)
OKLCHoklch(24.37% 0.089 323)
XYZxyz(2.2105, 1.2524, 3.8659)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C38 #11380C
analogous
#1D0C38 #330C38 #380C27
triadic
#330C38 #38330C #0C3833
tetradic
#330C38 #381D0C #11380C #0C2738
square
#330C38 #381D0C #11380C #0C2738
split-complementary
#330C38 #27380C #0C381D
monochromatic
#170519 #170519 #330C38 #61176A #8F229D

Accessibility & contrast

On white

16.79
#330C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330C38
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C38#FFFFFF#000000##FFFFFF
##330C381.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A39
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#341320
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330c38;
/* rgb */ color: rgb(51, 12, 56);
/* oklch */ color: oklch(24.4% 0.089 323.0);
Tailwind
colors: {
  custom: {
    50: '#6d4f6f',
    500: '#330c38',
    950: '#000000',
  },
}
SCSS
$custom: #330c38;
$custom-light: #6d4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#330c38",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 293.182,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24374,
    "c": 0.08923,
    "h": 323
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#330C38
secondary
#34742C
accent
#E84053
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #330C38

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

Preview Lab → · Contrast checker → · Palette generator →

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