#330539#330539

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

Color values

HEX#330539
RGBrgb(51, 5, 57)
HSLhsl(293, 84%, 12%)
HSVhsv(293, 91%, 22%)
CMYKcmyk(10.5%, 91.2%, 0%, 77.6%)
CIE-LABlab(9.86, 30.12, -21.74)
CIE-LCHlch(9.86, 37.14, 324.18°)
OKLaboklab(23.63% 0.0801 -0.0608)
OKLCHoklch(23.63% 0.101 322.8)
XYZxyz(2.1580, 1.1079, 3.9703)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330539 #0B3905
analogous
#190539 #330539 #390525
triadic
#330539 #393305 #053933
tetradic
#330539 #391905 #0B3905 #052539
square
#330539 #391905 #0B3905 #052539
split-complementary
#330539 #253905 #053919
monochromatic
#19021C #19021C #330539 #650A71 #980FAA

Accessibility & contrast

On white

17.19
#330539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330539
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330539#FFFFFF#000000##FFFFFF
##3305391.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#0D1D38
Tritanopia (blue-blind)
#340F1F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #330539;
/* rgb */ color: rgb(51, 5, 57);
/* oklch */ color: oklch(23.6% 0.101 322.8);
Tailwind
colors: {
  custom: {
    50: '#6d4b70',
    500: '#330539',
    950: '#000000',
  },
}
SCSS
$custom: #330539;
$custom-light: #6d4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#330539",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 293.077,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23629,
    "c": 0.10058,
    "h": 322.8
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#330539
secondary
#2A7A20
accent
#FA2E45
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #330539

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

Preview Lab → · Contrast checker → · Palette generator →

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