#330636#330636

#330636 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.096 H 325.3°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#330636
RGBrgb(51, 6, 54)
HSLhsl(296, 80%, 12%)
HSVhsv(296, 89%, 21%)
CMYKcmyk(5.6%, 88.9%, 0%, 78.8%)
CIE-LABlab(9.80, 29.00, -19.65)
CIE-LCHlch(9.80, 35.03, 325.88°)
OKLaboklab(23.52% 0.0791 -0.0547)
OKLCHoklch(23.52% 0.096 325.3)
XYZxyz(2.0962, 1.1005, 3.5913)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330636 #093606
analogous
#1B0636 #330636 #360621
triadic
#330636 #363306 #063633
tetradic
#330636 #361B06 #093606 #062136
square
#330636 #361B06 #093606 #062136
split-complementary
#330636 #213606 #06361B
monochromatic
#1A031C #1A031C #330636 #670C6D #9B12A4

Accessibility & contrast

On white

17.21
#330636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330636
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330636#FFFFFF#000000##FFFFFF
##3306361.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330636;
/* rgb */ color: rgb(51, 6, 54);
/* oklch */ color: oklch(23.5% 0.096 325.3);
Tailwind
colors: {
  custom: {
    50: '#6d4c6d',
    500: '#330636',
    950: '#000000',
  },
}
SCSS
$custom: #330636;
$custom-light: #6d4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#330636",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 296.25,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23516,
    "c": 0.09618,
    "h": 325.3
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#330636
secondary
#277621
accent
#F6313E
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330636

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

Preview Lab → · Contrast checker → · Palette generator →

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