#330E47#330E47

#330E47 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.103 H 310.8°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#330E47
RGBrgb(51, 14, 71)
HSLhsl(279, 67%, 17%)
HSVhsv(279, 80%, 28%)
CMYKcmyk(28.2%, 80.3%, 0%, 72.2%)
CIE-LABlab(12.43, 29.23, -27.52)
CIE-LCHlch(12.43, 40.15, 316.73°)
OKLaboklab(25.81% 0.0673 -0.0779)
OKLCHoklch(25.81% 0.103 310.8)
XYZxyz(2.6594, 1.4729, 6.1042)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330E47 #22470E
analogous
#170E47 #330E47 #470E3F
triadic
#330E47 #47330E #0E4733
tetradic
#330E47 #47170E #22470E #0E3F47
square
#330E47 #47170E #22470E #0E3F47
split-complementary
#330E47 #3F470E #0E4717
monochromatic
#12051A #12051A #330E47 #58187A #7C22AD

Accessibility & contrast

On white

16.22
#330E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#330E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330E47
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330E47#FFFFFF#000000##FFFFFF
##330E471.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F49
Deuteranopia (green-blind)
#052146
Tritanopia (blue-blind)
#301B29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #330e47;
/* rgb */ color: rgb(51, 14, 71);
/* oklch */ color: oklch(25.8% 0.103 310.8);
Tailwind
colors: {
  custom: {
    50: '#6d507b',
    500: '#330e47',
    950: '#000000',
  },
}
SCSS
$custom: #330e47;
$custom-light: #6d507b;
$custom-dark: #000000;
JSON
{
  "hex": "#330e47",
  "rgb": {
    "r": 51,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 278.947,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2581,
    "c": 0.10293,
    "h": 310.8
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#330E47
secondary
#4C822F
accent
#EA3E7A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #330E47

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

Preview Lab → · Contrast checker → · Palette generator →

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