#330736#330736

#330736 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.095 H 325.2°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#330736
RGBrgb(51, 7, 54)
HSLhsl(296, 77%, 12%)
HSVhsv(296, 87%, 21%)
CMYKcmyk(5.6%, 87%, 0%, 78.8%)
CIE-LABlab(9.97, 28.52, -19.38)
CIE-LCHlch(9.97, 34.48, 325.79°)
OKLaboklab(23.64% 0.0777 -0.054)
OKLCHoklch(23.64% 0.095 325.2)
XYZxyz(2.1070, 1.1222, 3.5949)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330736 #0A3607
analogous
#1C0736 #330736 #360722
triadic
#330736 #363307 #073633
tetradic
#330736 #361C07 #0A3607 #072236
square
#330736 #361C07 #0A3607 #072236
split-complementary
#330736 #223607 #07361C
monochromatic
#1A041B #1A041B #330736 #660E6C #9915A2

Accessibility & contrast

On white

17.15
#330736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#330736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330736
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330736#FFFFFF#000000##FFFFFF
##3307361.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#111D35
Tritanopia (blue-blind)
#340F1E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330736;
/* rgb */ color: rgb(51, 7, 54);
/* oklch */ color: oklch(23.6% 0.095 325.2);
Tailwind
colors: {
  custom: {
    50: '#6d4c6d',
    500: '#330736',
    950: '#000000',
  },
}
SCSS
$custom: #330736;
$custom-light: #6d4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330736",
  "rgb": {
    "r": 51,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 296.17,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23636,
    "c": 0.09464,
    "h": 325.2
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#330736
secondary
#287623
accent
#F43440
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330736

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

Preview Lab → · Contrast checker → · Palette generator →

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