#330534#330534

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

Color values

HEX#330534
RGBrgb(51, 5, 52)
HSLhsl(299, 82%, 11%)
HSVhsv(299, 90%, 20%)
CMYKcmyk(1.9%, 90.4%, 0%, 79.6%)
CIE-LABlab(9.48, 29.09, -18.70)
CIE-LCHlch(9.48, 34.58, 327.26°)
OKLaboklab(23.24% 0.0806 -0.052)
OKLCHoklch(23.24% 0.096 327.2)
XYZxyz(2.0393, 1.0604, 3.3454)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330534 #063405
analogous
#1B0534 #330534 #34051D
triadic
#330534 #343305 #053433
tetradic
#330534 #341B05 #063405 #051D34
square
#330534 #341B05 #063405 #051D34
split-complementary
#330534 #1D3405 #05341B
monochromatic
#1B031C #1B031C #330534 #6A0A6C #A110A4

Accessibility & contrast

On white

17.33
#330534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330534
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330534#FFFFFF#000000##FFFFFF
##3305341.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#111C33
Tritanopia (blue-blind)
#350D1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330534;
/* rgb */ color: rgb(51, 5, 52);
/* oklch */ color: oklch(23.2% 0.096 327.2);
Tailwind
colors: {
  custom: {
    50: '#6d4b6b',
    500: '#330534',
    950: '#000000',
  },
}
SCSS
$custom: #330534;
$custom-light: #6d4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#330534",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 298.723,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23244,
    "c": 0.0959,
    "h": 327.2
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#330534
secondary
#21751F
accent
#F92F33
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #330534

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

Preview Lab → · Contrast checker → · Palette generator →

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