#330531#330531

#330531 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.093 H 330.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#330531
RGBrgb(51, 5, 49)
HSLhsl(303, 82%, 11%)
HSVhsv(303, 90%, 20%)
CMYKcmyk(0%, 90.2%, 3.9%, 80%)
CIE-LABlab(9.27, 28.50, -16.84)
CIE-LCHlch(9.27, 33.10, 329.42°)
OKLaboklab(23.03% 0.0807 -0.0465)
OKLCHoklch(23.03% 0.093 330)
XYZxyz(1.9739, 1.0343, 3.0008)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330531 #053307
analogous
#1E0533 #330531 #33051A
triadic
#330531 #313305 #053133
tetradic
#330531 #331E05 #053307 #051A33
square
#330531 #331E05 #053307 #051A33
split-complementary
#330531 #1A3305 #05331E
monochromatic
#1C031B #1C031B #330531 #6B0A67 #A2109C

Accessibility & contrast

On white

17.40
#330531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330531
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330531#FFFFFF#000000##FFFFFF
##3305311.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011632
Deuteranopia (green-blind)
#131C30
Tritanopia (blue-blind)
#350B1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330531;
/* rgb */ color: rgb(51, 5, 49);
/* oklch */ color: oklch(23.0% 0.093 330.0);
Tailwind
colors: {
  custom: {
    50: '#6d4b69',
    500: '#330531',
    950: '#000000',
  },
}
SCSS
$custom: #330531;
$custom-light: #6d4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#330531",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 302.609,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.23026,
    "c": 0.09316,
    "h": 330
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#330531
secondary
#1F7423
accent
#F8382F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330531

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

Preview Lab → · Contrast checker → · Palette generator →

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