#37176A#37176A

#37176A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.134 H 294.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#37176A
RGBrgb(55, 23, 106)
HSLhsl(263, 64%, 25%)
HSVhsv(263, 78%, 42%)
CMYKcmyk(48.1%, 78.3%, 0%, 58.4%)
CIE-LABlab(17.76, 35.13, -42.43)
CIE-LCHlch(17.76, 55.08, 309.62°)
OKLaboklab(30.68% 0.056 -0.1216)
OKLCHoklch(30.68% 0.134 294.7)
XYZxyz(4.4828, 2.4655, 13.8726)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37176A #4A6A17
analogous
#17206A #37176A #61176A
triadic
#37176A #6A3717 #176A37
tetradic
#37176A #6A1720 #4A6A17 #176A61
square
#37176A #6A1720 #4A6A17 #176A61
split-complementary
#37176A #6A6117 #206A17
monochromatic
#0D0519 #1D0C38 #37176A #51229C #6B2DCF

Accessibility & contrast

On white

14.06
#37176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#37176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37176A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37176A#FFFFFF#000000##FFFFFF
##37176A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#282D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #37176a;
/* rgb */ color: rgb(55, 23, 106);
/* oklch */ color: oklch(30.7% 0.134 294.7);
Tailwind
colors: {
  custom: {
    50: '#745895',
    500: '#37176a',
    950: '#000000',
  },
}
SCSS
$custom: #37176a;
$custom-light: #745895;
$custom-dark: #000000;
JSON
{
  "hex": "#37176a",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 263.133,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30681,
    "c": 0.13387,
    "h": 294.7
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#37176A
secondary
#7AA03D
accent
#E740A7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37176A

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

Preview Lab → · Contrast checker → · Palette generator →

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