#37174A#37174A

#37174A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.094 H 310.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#37174A
RGBrgb(55, 23, 74)
HSLhsl(278, 53%, 19%)
HSVhsv(278, 69%, 29%)
CMYKcmyk(25.7%, 68.9%, 0%, 71%)
CIE-LABlab(15.06, 26.18, -25.34)
CIE-LCHlch(15.06, 36.44, 315.93°)
OKLaboklab(27.9% 0.0613 -0.0714)
OKLCHoklch(27.9% 0.094 310.6)
XYZxyz(3.1177, 1.9195, 6.6835)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37174A #2A4A17
analogous
#1E174A #37174A #4A1744
triadic
#37174A #4A3717 #174A37
tetradic
#37174A #4A1E17 #2A4A17 #17444A
square
#37174A #4A1E17 #2A4A17 #17444A
split-complementary
#37174A #444A17 #174A1E
monochromatic
#110717 #14081B #37174A #5A2679 #7C34A7

Accessibility & contrast

On white

15.18
#37174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#37174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37174A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37174A#FFFFFF#000000##FFFFFF
##37174A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244C
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#35212E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37174a;
/* rgb */ color: rgb(55, 23, 74);
/* oklch */ color: oklch(27.9% 0.094 310.6);
Tailwind
colors: {
  custom: {
    50: '#70567d',
    500: '#37174a',
    950: '#000000',
  },
}
SCSS
$custom: #37174a;
$custom-light: #70567d;
$custom-dark: #000000;
JSON
{
  "hex": "#37174a",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 277.647,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27903,
    "c": 0.09408,
    "h": 310.6
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#37174A
secondary
#56813C
accent
#DC4C82
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #37174A

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

Preview Lab → · Contrast checker → · Palette generator →

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