#330631#330631

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

Color values

HEX#330631
RGBrgb(51, 6, 49)
HSLhsl(303, 79%, 11%)
HSVhsv(303, 88%, 20%)
CMYKcmyk(0%, 88.2%, 3.9%, 80%)
CIE-LABlab(9.45, 27.99, -16.56)
CIE-LCHlch(9.45, 32.52, 329.39°)
OKLaboklab(23.15% 0.0793 -0.0457)
OKLCHoklch(23.15% 0.092 330)
XYZxyz(1.9847, 1.0560, 3.0044)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330631 #063308
analogous
#1E0633 #330631 #33061A
triadic
#330631 #313306 #063133
tetradic
#330631 #331E06 #063308 #061A33
square
#330631 #331E06 #063308 #061A33
split-complementary
#330631 #1A3306 #06331E
monochromatic
#1B031A #1B031A #330631 #6A0C66 #A1139A

Accessibility & contrast

On white

17.34
#330631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330631
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330631#FFFFFF#000000##FFFFFF
##3306311.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021632
Deuteranopia (green-blind)
#131D30
Tritanopia (blue-blind)
#350C1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #330631;
/* rgb */ color: rgb(51, 6, 49);
/* oklch */ color: oklch(23.2% 0.092 330.0);
Tailwind
colors: {
  custom: {
    50: '#6d4b69',
    500: '#330631',
    950: '#000000',
  },
}
SCSS
$custom: #330631;
$custom-light: #6d4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#330631",
  "rgb": {
    "r": 51,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 302.667,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23151,
    "c": 0.09151,
    "h": 330
  },
  "luminance": 0.01056
}

Semantic roles & 50–950 ramp

primary
#330631
secondary
#217425
accent
#F53B32
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330631

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

Preview Lab → · Contrast checker → · Palette generator →

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