#33173E#33173E

#33173E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.5% C 0.077 H 315.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#33173E
RGBrgb(51, 23, 62)
HSLhsl(283, 46%, 17%)
HSVhsv(283, 63%, 24%)
CMYKcmyk(17.7%, 62.9%, 0%, 75.7%)
CIE-LABlab(13.62, 21.84, -19.31)
CIE-LCHlch(13.62, 29.16, 318.52°)
OKLaboklab(26.45% 0.0549 -0.0539)
OKLCHoklch(26.45% 0.077 315.5)
XYZxyz(2.5410, 1.6645, 4.7439)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33173E #223E17
analogous
#20173E #33173E #3E1736
triadic
#33173E #3E3317 #173E33
tetradic
#33173E #3E2017 #223E17 #17363E
square
#33173E #3E2017 #223E17 #17363E
split-complementary
#33173E #363E17 #173E20
monochromatic
#120816 #120816 #33173E #58286B #7C3897

Accessibility & contrast

On white

15.76
#33173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#33173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33173E
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33173E#FFFFFF#000000##FFFFFF
##33173E1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#17243D
Tritanopia (blue-blind)
#321D27
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #33173e;
/* rgb */ color: rgb(51, 23, 62);
/* oklch */ color: oklch(26.5% 0.077 315.5);
Tailwind
colors: {
  custom: {
    50: '#6c5573',
    500: '#33173e',
    950: '#000000',
  },
}
SCSS
$custom: #33173e;
$custom-light: #6c5573;
$custom-dark: #000000;
JSON
{
  "hex": "#33173e",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 283.077,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26453,
    "c": 0.07694,
    "h": 315.5
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#33173E
secondary
#4C753C
accent
#D65277
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #33173E

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

Preview Lab → · Contrast checker → · Palette generator →

#33173E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva