#330436#330436

#330436 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.099 H 325.5°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#330436
RGBrgb(51, 4, 54)
HSLhsl(296, 86%, 11%)
HSVhsv(296, 93%, 21%)
CMYKcmyk(5.6%, 92.6%, 0%, 78.8%)
CIE-LABlab(9.46, 30.00, -20.20)
CIE-LCHlch(9.46, 36.17, 326.04°)
OKLaboklab(23.27% 0.0818 -0.0563)
OKLCHoklch(23.27% 0.099 325.5)
XYZxyz(2.0745, 1.0571, 3.5841)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330436 #073604
analogous
#1A0436 #330436 #360420
triadic
#330436 #363304 #043633
tetradic
#330436 #361A04 #073604 #042036
square
#330436 #361A04 #073604 #042036
split-complementary
#330436 #203604 #04361A
monochromatic
#1B021C #1B021C #330436 #69086F #9F0CA8

Accessibility & contrast

On white

17.34
#330436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330436
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330436#FFFFFF#000000##FFFFFF
##3304361.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0F1C35
Tritanopia (blue-blind)
#340D1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330436;
/* rgb */ color: rgb(51, 4, 54);
/* oklch */ color: oklch(23.3% 0.099 325.5);
Tailwind
colors: {
  custom: {
    50: '#6d4b6d',
    500: '#330436',
    950: '#000000',
  },
}
SCSS
$custom: #330436;
$custom-light: #6d4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330436",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 296.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.23273,
    "c": 0.09935,
    "h": 325.5
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#330436
secondary
#23781E
accent
#FC2B38
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330436

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

Preview Lab → · Contrast checker → · Palette generator →

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