#330347#330347

#330347 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.117 H 312.7°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#330347
RGBrgb(51, 3, 71)
HSLhsl(282, 92%, 15%)
HSVhsv(282, 96%, 28%)
CMYKcmyk(28.2%, 95.8%, 0%, 72.2%)
CIE-LABlab(10.73, 34.16, -30.28)
CIE-LCHlch(10.73, 45.65, 318.44°)
OKLaboklab(24.62% 0.0792 -0.0859)
OKLCHoklch(24.62% 0.117 312.7)
XYZxyz(2.5349, 1.2239, 6.0627)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330347 #174703
analogous
#110347 #330347 #470339
triadic
#330347 #473303 #034733
tetradic
#330347 #471103 #174703 #033947
square
#330347 #471103 #174703 #033947
split-complementary
#330347 #394703 #034711
monochromatic
#15011D #15011D #330347 #5D0582 #8708BC

Accessibility & contrast

On white

16.87
#330347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#330347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330347
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330347#FFFFFF#000000##FFFFFF
##3303471.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#311527
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330347;
/* rgb */ color: rgb(51, 3, 71);
/* oklch */ color: oklch(24.6% 0.117 312.7);
Tailwind
colors: {
  custom: {
    50: '#6e4b7b',
    500: '#330347',
    950: '#000000',
  },
}
SCSS
$custom: #330347;
$custom-light: #6e4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#330347",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 282.353,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24617,
    "c": 0.1168,
    "h": 312.7
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#330347
secondary
#3D881E
accent
#FF2968
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #330347

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

Preview Lab → · Contrast checker → · Palette generator →

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