#37177E#37177E

#37177E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.158 H 288.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#37177E
RGBrgb(55, 23, 126)
HSLhsl(259, 69%, 29%)
HSVhsv(259, 82%, 49%)
CMYKcmyk(56.3%, 81.7%, 0%, 50.6%)
CIE-LABlab(19.77, 40.94, -52.03)
CIE-LCHlch(19.77, 66.20, 308.20°)
OKLaboklab(32.69% 0.0499 -0.1497)
OKLCHoklch(32.69% 0.158 288.4)
XYZxyz(5.6467, 2.9311, 20.0028)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37177E #5E7E17
analogous
#172A7E #37177E #6B177E
triadic
#37177E #7E3717 #177E37
tetradic
#37177E #7E172A #5E7E17 #177E6B
square
#37177E #7E172A #5E7E17 #177E6B
split-complementary
#37177E #7E6B17 #2A7E17
monochromatic
#0B051A #200E4A #37177E #4E20B2 #6835DA

Accessibility & contrast

On white

13.24
#37177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#37177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37177E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37177E#FFFFFF#000000##FFFFFF
##37177E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#19354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37177e;
/* rgb */ color: rgb(55, 23, 126);
/* oklch */ color: oklch(32.7% 0.158 288.4);
Tailwind
colors: {
  custom: {
    50: '#7759a4',
    500: '#37177e',
    950: '#000000',
  },
}
SCSS
$custom: #37177e;
$custom-light: #7759a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37177e",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 258.641,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.1578,
    "h": 288.4
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#37177E
secondary
#8EB33E
accent
#EC3CB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #37177E

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

Preview Lab → · Contrast checker → · Palette generator →

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