#37177A#37177A

#37177A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.153 H 289.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#37177A
RGBrgb(55, 23, 122)
HSLhsl(259, 68%, 28%)
HSVhsv(259, 81%, 48%)
CMYKcmyk(54.9%, 81.1%, 0%, 52.2%)
CIE-LABlab(19.35, 39.77, -50.17)
CIE-LCHlch(19.35, 64.02, 308.41°)
OKLaboklab(32.28% 0.0512 -0.1442)
OKLCHoklch(32.28% 0.153 289.6)
XYZxyz(5.3938, 2.8299, 18.6706)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37177A #5A7A17
analogous
#17287A #37177A #68177A
triadic
#37177A #7A3717 #177A37
tetradic
#37177A #7A1728 #5A7A17 #177A68
square
#37177A #7A1728 #5A7A17 #177A68
split-complementary
#37177A #7A6817 #287A17
monochromatic
#0C051A #200D47 #37177A #4E21AD #6833D9

Accessibility & contrast

On white

13.41
#37177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#37177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37177A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37177A#FFFFFF#000000##FFFFFF
##37177A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#1D3348
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37177a;
/* rgb */ color: rgb(55, 23, 122);
/* oklch */ color: oklch(32.3% 0.153 289.6);
Tailwind
colors: {
  custom: {
    50: '#7659a1',
    500: '#37177a',
    950: '#000000',
  },
}
SCSS
$custom: #37177a;
$custom-light: #7659a1;
$custom-dark: #000000;
JSON
{
  "hex": "#37177a",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 259.394,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32277,
    "c": 0.15308,
    "h": 289.6
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#37177A
secondary
#8AAF3E
accent
#EB3DB3
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37177A

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

Preview Lab → · Contrast checker → · Palette generator →

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