#330647#330647

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

Color values

HEX#330647
RGBrgb(51, 6, 71)
HSLhsl(282, 84%, 15%)
HSVhsv(282, 92%, 28%)
CMYKcmyk(28.2%, 91.5%, 0%, 72.2%)
CIE-LABlab(11.20, 32.79, -29.52)
CIE-LCHlch(11.20, 44.12, 318.00°)
OKLaboklab(24.94% 0.0759 -0.0837)
OKLCHoklch(24.94% 0.113 312.2)
XYZxyz(2.5675, 1.2891, 6.0736)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330647 #1A4706
analogous
#120647 #330647 #47063B
triadic
#330647 #473306 #064733
tetradic
#330647 #471206 #1A4706 #063B47
square
#330647 #471206 #1A4706 #063B47
split-complementary
#330647 #3B4706 #064712
monochromatic
#14021C #14021C #330647 #5C0B7F #8410B8

Accessibility & contrast

On white

16.70
#330647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330647
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330647#FFFFFF#000000##FFFFFF
##3306471.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#311727
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #330647;
/* rgb */ color: rgb(51, 6, 71);
/* oklch */ color: oklch(24.9% 0.113 312.2);
Tailwind
colors: {
  custom: {
    50: '#6e4d7b',
    500: '#330647',
    950: '#000000',
  },
}
SCSS
$custom: #330647;
$custom-light: #6e4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#330647",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 281.538,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24941,
    "c": 0.11296,
    "h": 312.2
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#330647
secondary
#418623
accent
#FB2D6C
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #330647

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

Preview Lab → · Contrast checker → · Palette generator →

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