#37176C#37176C

#37176C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.136 H 294.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#37176C
RGBrgb(55, 23, 108)
HSLhsl(263, 65%, 26%)
HSVhsv(263, 79%, 42%)
CMYKcmyk(49.1%, 78.7%, 0%, 57.6%)
CIE-LABlab(17.95, 35.70, -43.42)
CIE-LCHlch(17.95, 56.22, 309.43°)
OKLaboklab(30.88% 0.0555 -0.1245)
OKLCHoklch(30.88% 0.136 294)
XYZxyz(4.5880, 2.5076, 14.4267)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37176C #4C6C17
analogous
#17226C #37176C #61176C
triadic
#37176C #6C3717 #176C37
tetradic
#37176C #6C1722 #4C6C17 #176C61
square
#37176C #6C1722 #4C6C17 #176C61
split-complementary
#37176C #6C6117 #226C17
monochromatic
#0D0519 #1D0C3A #37176C #51229E #6A2CD1

Accessibility & contrast

On white

13.99
#37176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#37176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37176C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37176C#FFFFFF#000000##FFFFFF
##37176C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#272E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37176c;
/* rgb */ color: rgb(55, 23, 108);
/* oklch */ color: oklch(30.9% 0.136 294.0);
Tailwind
colors: {
  custom: {
    50: '#745897',
    500: '#37176c',
    950: '#000000',
  },
}
SCSS
$custom: #37176c;
$custom-light: #745897;
$custom-dark: #000000;
JSON
{
  "hex": "#37176c",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 262.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.1363,
    "h": 294
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#37176C
secondary
#7CA23D
accent
#E840A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37176C

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

Preview Lab → · Contrast checker → · Palette generator →

#37176C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva