#37176B#37176B

#37176B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.135 H 294.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#37176B
RGBrgb(55, 23, 107)
HSLhsl(263, 65%, 25%)
HSVhsv(263, 79%, 42%)
CMYKcmyk(48.6%, 78.5%, 0%, 58%)
CIE-LABlab(17.86, 35.42, -42.93)
CIE-LCHlch(17.86, 55.65, 309.52°)
OKLaboklab(30.78% 0.0558 -0.123)
OKLCHoklch(30.78% 0.135 294.4)
XYZxyz(4.5351, 2.4864, 14.1481)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37176B #4B6B17
analogous
#17216B #37176B #61176B
triadic
#37176B #6B3717 #176B37
tetradic
#37176B #6B1721 #4B6B17 #176B61
square
#37176B #6B1721 #4B6B17 #176B61
split-complementary
#37176B #6B6117 #216B17
monochromatic
#0D0519 #1D0C39 #37176B #51229D #6B2DD0

Accessibility & contrast

On white

14.02
#37176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37176B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37176B#FFFFFF#000000##FFFFFF
##37176B1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#282D40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37176b;
/* rgb */ color: rgb(55, 23, 107);
/* oklch */ color: oklch(30.8% 0.135 294.4);
Tailwind
colors: {
  custom: {
    50: '#745896',
    500: '#37176b',
    950: '#000000',
  },
}
SCSS
$custom: #37176b;
$custom-light: #745896;
$custom-dark: #000000;
JSON
{
  "hex": "#37176b",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 262.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.13509,
    "h": 294.4
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#37176B
secondary
#7BA13D
accent
#E840A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37176B

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

Preview Lab → · Contrast checker → · Palette generator →

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