#330536#330536

#330536 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.098 H 325.4°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#330536
RGBrgb(51, 5, 54)
HSLhsl(296, 83%, 12%)
HSVhsv(296, 91%, 21%)
CMYKcmyk(5.6%, 90.7%, 0%, 78.8%)
CIE-LABlab(9.63, 29.49, -19.93)
CIE-LCHlch(9.63, 35.59, 325.96°)
OKLaboklab(23.4% 0.0804 -0.0555)
OKLCHoklch(23.4% 0.098 325.4)
XYZxyz(2.0853, 1.0788, 3.5877)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330536 #083605
analogous
#1B0536 #330536 #360521
triadic
#330536 #363305 #053633
tetradic
#330536 #361B05 #083605 #052136
square
#330536 #361B05 #083605 #052136
split-complementary
#330536 #213605 #05361B
monochromatic
#1A031C #1A031C #330536 #680A6E #9D0FA6

Accessibility & contrast

On white

17.27
#330536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330536
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330536#FFFFFF#000000##FFFFFF
##3305361.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#340E1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330536;
/* rgb */ color: rgb(51, 5, 54);
/* oklch */ color: oklch(23.4% 0.098 325.4);
Tailwind
colors: {
  custom: {
    50: '#6d4b6d',
    500: '#330536',
    950: '#000000',
  },
}
SCSS
$custom: #330536;
$custom-light: #6d4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330536",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 296.327,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23395,
    "c": 0.09775,
    "h": 325.4
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#330536
secondary
#257720
accent
#F92E3B
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330536

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

Preview Lab → · Contrast checker → · Palette generator →

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