#330646#330646

#330646 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.112 H 312.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#330646
RGBrgb(51, 6, 70)
HSLhsl(282, 84%, 15%)
HSVhsv(282, 91%, 27%)
CMYKcmyk(27.1%, 91.4%, 0%, 72.5%)
CIE-LABlab(11.11, 32.55, -28.97)
CIE-LCHlch(11.11, 43.58, 318.34°)
OKLaboklab(24.85% 0.0762 -0.0821)
OKLCHoklch(24.85% 0.112 312.9)
XYZxyz(2.5357, 1.2763, 5.9059)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330646 #194606
analogous
#130646 #330646 #460639
triadic
#330646 #463306 #064633
tetradic
#330646 #461306 #194606 #063946
square
#330646 #461306 #194606 #063946
split-complementary
#330646 #394606 #064613
monochromatic
#15021C #15021C #330646 #5C0B7E #8510B7

Accessibility & contrast

On white

16.73
#330646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#330646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330646
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330646#FFFFFF#000000##FFFFFF
##3306461.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#311627
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330646;
/* rgb */ color: rgb(51, 6, 70);
/* oklch */ color: oklch(24.9% 0.112 312.9);
Tailwind
colors: {
  custom: {
    50: '#6e4d7a',
    500: '#330646',
    950: '#000000',
  },
}
SCSS
$custom: #330646;
$custom-light: #6e4d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#330646",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 282.188,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2485,
    "c": 0.11195,
    "h": 312.9
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#330646
secondary
#408522
accent
#FA2D6A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #330646

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

Preview Lab → · Contrast checker → · Palette generator →

#330646 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva