#330A47#330A47

#330A47 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.108 H 311.6°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#330A47
RGBrgb(51, 10, 71)
HSLhsl(280, 75%, 16%)
HSVhsv(280, 86%, 28%)
CMYKcmyk(28.2%, 85.9%, 0%, 72.2%)
CIE-LABlab(11.80, 31.05, -28.55)
CIE-LCHlch(11.80, 42.19, 317.40°)
OKLaboklab(25.36% 0.0717 -0.0809)
OKLCHoklch(25.36% 0.108 311.6)
XYZxyz(2.6109, 1.3759, 6.0881)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330A47 #1E470A
analogous
#140A47 #330A47 #470A3C
triadic
#330A47 #47330A #0A4733
tetradic
#330A47 #47140A #1E470A #0A3C47
square
#330A47 #47140A #1E470A #0A3C47
split-complementary
#330A47 #3C470A #0A4714
monochromatic
#13041B #13041B #330A47 #5A127D #8019B2

Accessibility & contrast

On white

16.47
#330A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330A47
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330A47#FFFFFF#000000##FFFFFF
##330A471.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#301928
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #330a47;
/* rgb */ color: rgb(51, 10, 71);
/* oklch */ color: oklch(25.4% 0.108 311.6);
Tailwind
colors: {
  custom: {
    50: '#6e4e7b',
    500: '#330a47',
    950: '#000000',
  },
}
SCSS
$custom: #330a47;
$custom-light: #6e4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#330a47",
  "rgb": {
    "r": 51,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 280.328,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25359,
    "c": 0.10808,
    "h": 311.6
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#330A47
secondary
#478429
accent
#F23674
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330A47

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

Preview Lab → · Contrast checker → · Palette generator →

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