#33177D#33177D

#33177D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.157 H 286.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#33177D
RGBrgb(51, 23, 125)
HSLhsl(256, 69%, 29%)
HSVhsv(256, 82%, 49%)
CMYKcmyk(59.2%, 81.6%, 0%, 51%)
CIE-LABlab(19.21, 40.11, -52.32)
CIE-LCHlch(19.21, 65.93, 307.47°)
OKLaboklab(32.17% 0.0437 -0.1507)
OKLCHoklch(32.17% 0.157 286.2)
XYZxyz(5.3722, 2.7970, 19.6548)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33177D #617D17
analogous
#172E7D #33177D #66177D
triadic
#33177D #7D3317 #177D33
tetradic
#33177D #7D172E #617D17 #177D66
square
#33177D #7D172E #617D17 #177D66
split-complementary
#33177D #7D6617 #2E7D17
monochromatic
#0B051A #1E0D49 #33177D #4821B1 #6235DA

Accessibility & contrast

On white

13.47
#33177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#33177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33177D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33177D#FFFFFF#000000##FFFFFF
##33177D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#0E354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33177d;
/* rgb */ color: rgb(51, 23, 125);
/* oklch */ color: oklch(32.2% 0.157 286.2);
Tailwind
colors: {
  custom: {
    50: '#7558a4',
    500: '#33177d',
    950: '#000000',
  },
}
SCSS
$custom: #33177d;
$custom-light: #7558a4;
$custom-dark: #000000;
JSON
{
  "hex": "#33177d",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 256.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3217,
    "c": 0.1569,
    "h": 286.2
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#33177D
secondary
#92B23E
accent
#EC3CBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33177D

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

Preview Lab → · Contrast checker → · Palette generator →

#33177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva