#330532#330532

#330532 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.094 H 329.1°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#330532
RGBrgb(51, 5, 50)
HSLhsl(301, 82%, 11%)
HSVhsv(301, 90%, 20%)
CMYKcmyk(0%, 90.2%, 2%, 80%)
CIE-LABlab(9.34, 28.69, -17.46)
CIE-LCHlch(9.34, 33.59, 328.67°)
OKLaboklab(23.1% 0.0807 -0.0484)
OKLCHoklch(23.1% 0.094 329.1)
XYZxyz(1.9952, 1.0428, 3.1132)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330532 #053306
analogous
#1D0533 #330532 #33051B
triadic
#330532 #323305 #053233
tetradic
#330532 #331D05 #053306 #051B33
square
#330532 #331D05 #053306 #051B33
split-complementary
#330532 #1B3305 #05331D
monochromatic
#1C031B #1C031B #330532 #6B0A69 #A2109F

Accessibility & contrast

On white

17.38
#330532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330532
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330532#FFFFFF#000000##FFFFFF
##3305321.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#121C31
Tritanopia (blue-blind)
#350C1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330532;
/* rgb */ color: rgb(51, 5, 50);
/* oklch */ color: oklch(23.1% 0.094 329.1);
Tailwind
colors: {
  custom: {
    50: '#6d4b6a',
    500: '#330532',
    950: '#000000',
  },
}
SCSS
$custom: #330532;
$custom-light: #6d4b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#330532",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 301.304,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23097,
    "c": 0.09406,
    "h": 329.1
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#330532
secondary
#1F7421
accent
#F8342F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330532

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

Preview Lab → · Contrast checker → · Palette generator →

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