#37176D#37176D

#37176D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.138 H 293.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#37176D
RGBrgb(55, 23, 109)
HSLhsl(262, 65%, 26%)
HSVhsv(262, 79%, 43%)
CMYKcmyk(49.5%, 78.9%, 0%, 57.3%)
CIE-LABlab(18.05, 35.99, -43.91)
CIE-LCHlch(18.05, 56.78, 309.34°)
OKLaboklab(30.97% 0.0552 -0.1259)
OKLCHoklch(30.97% 0.138 293.7)
XYZxyz(4.6415, 2.5290, 14.7086)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37176D #4D6D17
analogous
#17226D #37176D #62176D
triadic
#37176D #6D3717 #176D37
tetradic
#37176D #6D1722 #4D6D17 #176D62
square
#37176D #6D1722 #4D6D17 #176D62
split-complementary
#37176D #6D6217 #226D17
monochromatic
#0D0519 #1D0C3A #37176D #5122A0 #6A2CD2

Accessibility & contrast

On white

13.95
#37176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#37176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37176D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37176D#FFFFFF#000000##FFFFFF
##37176D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#272E41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37176d;
/* rgb */ color: rgb(55, 23, 109);
/* oklch */ color: oklch(31.0% 0.138 293.7);
Tailwind
colors: {
  custom: {
    50: '#745898',
    500: '#37176d',
    950: '#000000',
  },
}
SCSS
$custom: #37176d;
$custom-light: #745898;
$custom-dark: #000000;
JSON
{
  "hex": "#37176d",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 262.326,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30972,
    "c": 0.13751,
    "h": 293.7
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37176D

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

Preview Lab → · Contrast checker → · Palette generator →

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