#37177D#37177D

#37177D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.157 H 288.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#37177D
RGBrgb(55, 23, 125)
HSLhsl(259, 69%, 29%)
HSVhsv(259, 82%, 49%)
CMYKcmyk(56%, 81.6%, 0%, 51%)
CIE-LABlab(19.66, 40.65, -51.57)
CIE-LCHlch(19.66, 65.66, 308.25°)
OKLaboklab(32.59% 0.0503 -0.1483)
OKLCHoklch(32.59% 0.157 288.7)
XYZxyz(5.5825, 2.9054, 19.6647)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37177D #5D7D17
analogous
#172A7D #37177D #6A177D
triadic
#37177D #7D3717 #177D37
tetradic
#37177D #7D172A #5D7D17 #177D6A
square
#37177D #7D172A #5D7D17 #177D6A
split-complementary
#37177D #7D6A17 #2A7D17
monochromatic
#0B051A #200D49 #37177D #4E21B1 #6835DA

Accessibility & contrast

On white

13.28
#37177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#37177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37177D
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37177D#FFFFFF#000000##FFFFFF
##37177D1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#1B354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37177d;
/* rgb */ color: rgb(55, 23, 125);
/* oklch */ color: oklch(32.6% 0.157 288.7);
Tailwind
colors: {
  custom: {
    50: '#7759a4',
    500: '#37177d',
    950: '#000000',
  },
}
SCSS
$custom: #37177d;
$custom-light: #7759a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37177d",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 258.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.15663,
    "h": 288.7
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#37177D
secondary
#8DB23E
accent
#EC3CB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37177D

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

Preview Lab → · Contrast checker → · Palette generator →

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