#37177B#37177B

#37177B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.154 H 289.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#37177B
RGBrgb(55, 23, 123)
HSLhsl(259, 68%, 29%)
HSVhsv(259, 81%, 48%)
CMYKcmyk(55.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(19.45, 40.07, -50.63)
CIE-LCHlch(19.45, 64.57, 308.35°)
OKLaboklab(32.38% 0.0509 -0.1456)
OKLCHoklch(32.38% 0.154 289.3)
XYZxyz(5.4561, 2.8548, 18.9986)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37177B #5B7B17
analogous
#17297B #37177B #69177B
triadic
#37177B #7B3717 #177B37
tetradic
#37177B #7B1729 #5B7B17 #177B69
square
#37177B #7B1729 #5B7B17 #177B69
split-complementary
#37177B #7B6917 #297B17
monochromatic
#0C051A #200D47 #37177B #4E21AF #6833D9

Accessibility & contrast

On white

13.37
#37177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37177B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37177B#FFFFFF#000000##FFFFFF
##37177B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#1C3449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #37177b;
/* rgb */ color: rgb(55, 23, 123);
/* oklch */ color: oklch(32.4% 0.154 289.3);
Tailwind
colors: {
  custom: {
    50: '#7659a2',
    500: '#37177b',
    950: '#000000',
  },
}
SCSS
$custom: #37177b;
$custom-light: #7659a2;
$custom-dark: #000000;
JSON
{
  "hex": "#37177b",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 259.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3238,
    "c": 0.15426,
    "h": 289.3
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#37177B
secondary
#8BB03E
accent
#EB3CB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #37177B

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

Preview Lab → · Contrast checker → · Palette generator →

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