#33177A#33177A

#33177A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.153 H 286.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#33177A
RGBrgb(51, 23, 122)
HSLhsl(257, 68%, 28%)
HSVhsv(257, 81%, 48%)
CMYKcmyk(58.2%, 81.1%, 0%, 52.2%)
CIE-LABlab(18.89, 39.21, -50.93)
CIE-LCHlch(18.89, 64.28, 307.59°)
OKLaboklab(31.85% 0.0447 -0.1466)
OKLCHoklch(31.85% 0.153 286.9)
XYZxyz(5.1834, 2.7215, 18.6607)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33177A #5E7A17
analogous
#172C7A #33177A #64177A
triadic
#33177A #7A3317 #177A33
tetradic
#33177A #7A172C #5E7A17 #177A64
square
#33177A #7A172C #5E7A17 #177A64
split-complementary
#33177A #7A6417 #2C7A17
monochromatic
#0B051A #1D0D47 #33177A #4921AD #6233D9

Accessibility & contrast

On white

13.60
#33177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#33177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33177A
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33177A#FFFFFF#000000##FFFFFF
##33177A1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#123448
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #33177a;
/* rgb */ color: rgb(51, 23, 122);
/* oklch */ color: oklch(31.9% 0.153 286.9);
Tailwind
colors: {
  custom: {
    50: '#7458a1',
    500: '#33177a',
    950: '#000000',
  },
}
SCSS
$custom: #33177a;
$custom-light: #7458a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33177a",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 256.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.15328,
    "h": 286.9
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#33177A
secondary
#8FAF3E
accent
#EB3DBA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #33177A

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

Preview Lab → · Contrast checker → · Palette generator →

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