#330346#330346

#330346 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.116 H 313.3°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#330346
RGBrgb(51, 3, 70)
HSLhsl(283, 92%, 14%)
HSVhsv(283, 96%, 27%)
CMYKcmyk(27.1%, 95.7%, 0%, 72.5%)
CIE-LABlab(10.64, 33.93, -29.73)
CIE-LCHlch(10.64, 45.11, 318.78°)
OKLaboklab(24.52% 0.0795 -0.0843)
OKLCHoklch(24.52% 0.116 313.3)
XYZxyz(2.5031, 1.2112, 5.8951)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330346 #164603
analogous
#120346 #330346 #460338
triadic
#330346 #463303 #034633
tetradic
#330346 #461203 #164603 #033846
square
#330346 #461203 #164603 #033846
split-complementary
#330346 #384603 #034612
monochromatic
#15011D #15011D #330346 #5E0681 #8908BB

Accessibility & contrast

On white

16.91
#330346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330346
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330346#FFFFFF#000000##FFFFFF
##3303461.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#311526
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #330346;
/* rgb */ color: rgb(51, 3, 70);
/* oklch */ color: oklch(24.5% 0.116 313.3);
Tailwind
colors: {
  custom: {
    50: '#6e4b7a',
    500: '#330346',
    950: '#000000',
  },
}
SCSS
$custom: #330346;
$custom-light: #6e4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#330346",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 282.985,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24524,
    "c": 0.11584,
    "h": 313.3
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#330346
secondary
#3B871D
accent
#FF2966
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #330346

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

Preview Lab → · Contrast checker → · Palette generator →

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