#330C44#330C44

#330C44 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.102 H 313.3°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#330C44
RGBrgb(51, 12, 68)
HSLhsl(282, 70%, 16%)
HSVhsv(282, 82%, 27%)
CMYKcmyk(25%, 82.4%, 0%, 73.3%)
CIE-LABlab(11.85, 29.43, -26.36)
CIE-LCHlch(11.85, 39.51, 318.15°)
OKLaboklab(25.32% 0.0701 -0.0744)
OKLCHoklch(25.32% 0.102 313.3)
XYZxyz(2.5399, 1.3842, 5.6011)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330C44 #1D440C
analogous
#170C44 #330C44 #440C39
triadic
#330C44 #44330C #0C4433
tetradic
#330C44 #44170C #1D440C #0C3944
square
#330C44 #44170C #1D440C #0C3944
split-complementary
#330C44 #39440C #0C4417
monochromatic
#14051A #14051A #330C44 #5A1578 #811EAC

Accessibility & contrast

On white

16.45
#330C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#330C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330C44
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330C44#FFFFFF#000000##FFFFFF
##330C441.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#072043
Tritanopia (blue-blind)
#311827
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330c44;
/* rgb */ color: rgb(51, 12, 68);
/* oklch */ color: oklch(25.3% 0.102 313.3);
Tailwind
colors: {
  custom: {
    50: '#6d4f78',
    500: '#330c44',
    950: '#000000',
  },
}
SCSS
$custom: #330c44;
$custom-light: #6d4f78;
$custom-dark: #000000;
JSON
{
  "hex": "#330c44",
  "rgb": {
    "r": 51,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 281.786,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25319,
    "c": 0.10229,
    "h": 313.3
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#330C44
secondary
#45802C
accent
#ED3B71
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #330C44

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

Preview Lab → · Contrast checker → · Palette generator →

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