#33153E#33153E

#33153E is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.1% C 0.081 H 316.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#33153E
RGBrgb(51, 21, 62)
HSLhsl(284, 49%, 16%)
HSVhsv(284, 66%, 24%)
CMYKcmyk(17.7%, 66.1%, 0%, 75.7%)
CIE-LABlab(13.16, 23.08, -20.04)
CIE-LCHlch(13.16, 30.57, 319.03°)
OKLaboklab(26.12% 0.0581 -0.056)
OKLCHoklch(26.12% 0.081 316.1)
XYZxyz(2.5028, 1.5880, 4.7312)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33153E #203E15
analogous
#1F153E #33153E #3E1535
triadic
#33153E #3E3315 #153E33
tetradic
#33153E #3E1F15 #203E15 #15353E
square
#33153E #3E1F15 #203E15 #15353E
split-complementary
#33153E #353E15 #153E1F
monochromatic
#130817 #130817 #33153E #59246C #7E3499

Accessibility & contrast

On white

15.94
#33153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#33153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33153E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33153E#FFFFFF#000000##FFFFFF
##33153E1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A203F
Deuteranopia (green-blind)
#15233D
Tritanopia (blue-blind)
#321C27
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33153e;
/* rgb */ color: rgb(51, 21, 62);
/* oklch */ color: oklch(26.1% 0.081 316.1);
Tailwind
colors: {
  custom: {
    50: '#6c5473',
    500: '#33153e',
    950: '#000000',
  },
}
SCSS
$custom: #33153e;
$custom-light: #6c5473;
$custom-dark: #000000;
JSON
{
  "hex": "#33153e",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 283.902,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26116,
    "c": 0.08072,
    "h": 316.1
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#33153E
secondary
#497639
accent
#D94F74
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #33153E

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

Preview Lab → · Contrast checker → · Palette generator →

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