#33176B#33176B

#33176B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.135 H 291.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#33176B
RGBrgb(51, 23, 107)
HSLhsl(260, 65%, 25%)
HSVhsv(260, 79%, 42%)
CMYKcmyk(52.3%, 78.5%, 0%, 58%)
CIE-LABlab(17.36, 34.72, -43.76)
CIE-LCHlch(17.36, 55.86, 308.43°)
OKLaboklab(30.31% 0.0492 -0.1256)
OKLCHoklch(30.31% 0.135 291.4)
XYZxyz(4.3247, 2.3780, 14.1382)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33176B #4F6B17
analogous
#17256B #33176B #5D176B
triadic
#33176B #6B3317 #176B33
tetradic
#33176B #6B1725 #4F6B17 #176B5D
square
#33176B #6B1725 #4F6B17 #176B5D
split-complementary
#33176B #6B5D17 #256B17
monochromatic
#0C0519 #1B0C39 #33176B #4B229D #632DD0

Accessibility & contrast

On white

14.23
#33176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33176B
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33176B#FFFFFF#000000##FFFFFF
##33176B1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#202E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33176b;
/* rgb */ color: rgb(51, 23, 107);
/* oklch */ color: oklch(30.3% 0.135 291.4);
Tailwind
colors: {
  custom: {
    50: '#715796',
    500: '#33176b',
    950: '#000000',
  },
}
SCSS
$custom: #33176b;
$custom-light: #715796;
$custom-dark: #000000;
JSON
{
  "hex": "#33176b",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 260,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30312,
    "c": 0.13494,
    "h": 291.4
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#33176B
secondary
#80A13D
accent
#E840B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33176B

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

Preview Lab → · Contrast checker → · Palette generator →

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