#330331#330331

#330331 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.097 H 330.1°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#330331
RGBrgb(51, 3, 49)
HSLhsl(303, 89%, 11%)
HSVhsv(303, 94%, 20%)
CMYKcmyk(0%, 94.1%, 3.9%, 80%)
CIE-LABlab(8.91, 29.54, -17.41)
CIE-LCHlch(8.91, 34.29, 329.49°)
OKLaboklab(22.77% 0.0837 -0.0482)
OKLCHoklch(22.77% 0.097 330.1)
XYZxyz(1.9522, 0.9908, 2.9936)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330331 #033305
analogous
#1D0333 #330331 #330319
triadic
#330331 #313303 #033133
tetradic
#330331 #331D03 #033305 #031933
square
#330331 #331D03 #033305 #031933
split-complementary
#330331 #193303 #03331D
monochromatic
#1D021C #1D021C #330331 #6D0669 #A70AA0

Accessibility & contrast

On white

17.53
#330331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330331
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330331#FFFFFF#000000##FFFFFF
##3303311.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#121C30
Tritanopia (blue-blind)
#35091A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330331;
/* rgb */ color: rgb(51, 3, 49);
/* oklch */ color: oklch(22.8% 0.097 330.1);
Tailwind
colors: {
  custom: {
    50: '#6d4a69',
    500: '#330331',
    950: '#000000',
  },
}
SCSS
$custom: #330331;
$custom-light: #6d4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#330331",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 302.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22771,
    "c": 0.09656,
    "h": 330.1
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#330331
secondary
#1C761F
accent
#FF3229
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #330331

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

Preview Lab → · Contrast checker → · Palette generator →

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