#331133#331133

#331133 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.075 H 327.6°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#331133
RGBrgb(51, 17, 51)
HSLhsl(300, 50%, 13%)
HSVhsv(300, 67%, 20%)
CMYKcmyk(0%, 66.7%, 0%, 80%)
CIE-LABlab(11.58, 22.82, -14.66)
CIE-LCHlch(11.58, 27.12, 327.28°)
OKLaboklab(24.73% 0.0635 -0.0404)
OKLCHoklch(24.73% 0.075 327.6)
XYZxyz(2.1632, 1.3439, 3.2768)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331133 #113311
analogous
#221133 #331133 #331122
triadic
#331133 #333311 #113333
tetradic
#331133 #332211 #113311 #112233
square
#331133 #332211 #113311 #112233
split-complementary
#331133 #223311 #113322
monochromatic
#170817 #170817 #331133 #612061 #8F308F

Accessibility & contrast

On white

16.55
#331133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#331133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331133
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331133#FFFFFF#000000##FFFFFF
##3311331.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1C34
Deuteranopia (green-blind)
#192032
Tritanopia (blue-blind)
#351520
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #331133;
/* rgb */ color: rgb(51, 17, 51);
/* oklch */ color: oklch(24.7% 0.075 327.6);
Tailwind
colors: {
  custom: {
    50: '#6c516b',
    500: '#331133',
    950: '#000000',
  },
}
SCSS
$custom: #331133;
$custom-light: #6c516b;
$custom-dark: #000000;
JSON
{
  "hex": "#331133",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24733,
    "c": 0.07525,
    "h": 327.6
  },
  "luminance": 0.01344
}

Semantic roles & 50–950 ramp

primary
#331133
secondary
#346C34
accent
#DA4E4E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #331133

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

Preview Lab → · Contrast checker → · Palette generator →

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