#33176C#33176C

#33176C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.136 H 291.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#33176C
RGBrgb(51, 23, 108)
HSLhsl(260, 65%, 26%)
HSVhsv(260, 79%, 42%)
CMYKcmyk(52.8%, 78.7%, 0%, 57.6%)
CIE-LABlab(17.46, 35.02, -44.25)
CIE-LCHlch(17.46, 56.43, 308.36°)
OKLaboklab(30.41% 0.0489 -0.1271)
OKLCHoklch(30.41% 0.136 291.1)
XYZxyz(4.3776, 2.3991, 14.4169)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33176C #506C17
analogous
#17256C #33176C #5D176C
triadic
#33176C #6C3317 #176C33
tetradic
#33176C #6C1725 #506C17 #176C5D
square
#33176C #6C1725 #506C17 #176C5D
split-complementary
#33176C #6C5D17 #256C17
monochromatic
#0C0519 #1B0C3A #33176C #4B229E #632CD1

Accessibility & contrast

On white

14.19
#33176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#33176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33176C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33176C#FFFFFF#000000##FFFFFF
##33176C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#202E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33176c;
/* rgb */ color: rgb(51, 23, 108);
/* oklch */ color: oklch(30.4% 0.136 291.1);
Tailwind
colors: {
  custom: {
    50: '#725797',
    500: '#33176c',
    950: '#000000',
  },
}
SCSS
$custom: #33176c;
$custom-light: #725797;
$custom-dark: #000000;
JSON
{
  "hex": "#33176c",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 259.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30411,
    "c": 0.13618,
    "h": 291.1
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#33176C
secondary
#81A23D
accent
#E840B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33176C

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

Preview Lab → · Contrast checker → · Palette generator →

#33176C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva