#33176D#33176D

#33176D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.137 H 290.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#33176D
RGBrgb(51, 23, 109)
HSLhsl(260, 65%, 26%)
HSVhsv(260, 79%, 43%)
CMYKcmyk(53.2%, 78.9%, 0%, 57.3%)
CIE-LABlab(17.56, 35.32, -44.74)
CIE-LCHlch(17.56, 57.00, 308.29°)
OKLaboklab(30.51% 0.0487 -0.1285)
OKLCHoklch(30.51% 0.137 290.7)
XYZxyz(4.4312, 2.4205, 14.6988)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33176D #516D17
analogous
#17266D #33176D #5E176D
triadic
#33176D #6D3317 #176D33
tetradic
#33176D #6D1726 #516D17 #176D5E
square
#33176D #6D1726 #516D17 #176D5E
split-complementary
#33176D #6D5E17 #266D17
monochromatic
#0C0519 #1B0C3A #33176D #4B22A0 #622CD2

Accessibility & contrast

On white

14.15
#33176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33176D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33176D#FFFFFF#000000##FFFFFF
##33176D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#1F2F41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33176d;
/* rgb */ color: rgb(51, 23, 109);
/* oklch */ color: oklch(30.5% 0.137 290.7);
Tailwind
colors: {
  custom: {
    50: '#725798',
    500: '#33176d',
    950: '#000000',
  },
}
SCSS
$custom: #33176d;
$custom-light: #725798;
$custom-dark: #000000;
JSON
{
  "hex": "#33176d",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 259.535,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30512,
    "c": 0.13742,
    "h": 290.7
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#33176D
secondary
#82A33D
accent
#E840B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #33176D

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

Preview Lab → · Contrast checker → · Palette generator →

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