#330336#330336

#330336 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.101 H 325.5°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#330336
RGBrgb(51, 3, 54)
HSLhsl(296, 89%, 11%)
HSVhsv(296, 94%, 21%)
CMYKcmyk(5.6%, 94.4%, 0%, 78.8%)
CIE-LABlab(9.28, 30.51, -20.48)
CIE-LCHlch(9.28, 36.75, 326.12°)
OKLaboklab(23.15% 0.0833 -0.0571)
OKLCHoklch(23.15% 0.101 325.5)
XYZxyz(2.0636, 1.0354, 3.5805)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330336 #063603
analogous
#190336 #330336 #36031F
triadic
#330336 #363303 #033633
tetradic
#330336 #361903 #063603 #031F36
square
#330336 #361903 #063603 #031F36
split-complementary
#330336 #1F3603 #033619
monochromatic
#1B021D #1B021D #330336 #6A0670 #A109AA

Accessibility & contrast

On white

17.40
#330336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#330336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330336
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330336#FFFFFF#000000##FFFFFF
##3303361.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#340C1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330336;
/* rgb */ color: rgb(51, 3, 54);
/* oklch */ color: oklch(23.1% 0.101 325.5);
Tailwind
colors: {
  custom: {
    50: '#6d4a6d',
    500: '#330336',
    950: '#000000',
  },
}
SCSS
$custom: #330336;
$custom-light: #6d4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330336",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 296.471,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23149,
    "c": 0.10098,
    "h": 325.5
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#330336
secondary
#21791C
accent
#FF2935
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330336

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

Preview Lab → · Contrast checker → · Palette generator →

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