#37164D#37164D

#37164D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.099 H 308.9°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#37164D
RGBrgb(55, 22, 77)
HSLhsl(276, 56%, 19%)
HSVhsv(276, 71%, 30%)
CMYKcmyk(28.6%, 71.4%, 0%, 69.8%)
CIE-LABlab(15.07, 27.55, -27.39)
CIE-LCHlch(15.07, 38.85, 315.17°)
OKLaboklab(27.98% 0.0625 -0.0774)
OKLCHoklch(27.98% 0.099 308.9)
XYZxyz(3.2017, 1.9219, 7.2220)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37164D #2C4D16
analogous
#1C164D #37164D #4D1648
triadic
#37164D #4D3716 #164D37
tetradic
#37164D #4D1C16 #2C4D16 #16484D
square
#37164D #4D1C16 #2C4D16 #16484D
split-complementary
#37164D #484D16 #164D1C
monochromatic
#110718 #15081D #37164D #59247D #7B31AC

Accessibility & contrast

On white

15.17
#37164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#37164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37164D
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37164D#FFFFFF#000000##FFFFFF
##37164D1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0D264C
Tritanopia (blue-blind)
#34212F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37164d;
/* rgb */ color: rgb(55, 22, 77);
/* oklch */ color: oklch(28.0% 0.099 308.9);
Tailwind
colors: {
  custom: {
    50: '#70567f',
    500: '#37164d',
    950: '#000000',
  },
}
SCSS
$custom: #37164d;
$custom-light: #70567f;
$custom-dark: #000000;
JSON
{
  "hex": "#37164d",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27984,
    "c": 0.09948,
    "h": 308.9
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#37164D
secondary
#58853A
accent
#DF4985
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37164D

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

Preview Lab → · Contrast checker → · Palette generator →

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