#37174B#37174B

#37174B is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.095 H 310.0°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#37174B
RGBrgb(55, 23, 75)
HSLhsl(277, 53%, 19%)
HSVhsv(277, 69%, 29%)
CMYKcmyk(26.7%, 69.3%, 0%, 70.6%)
CIE-LABlab(15.13, 26.44, -25.92)
CIE-LCHlch(15.13, 37.03, 315.58°)
OKLaboklab(27.98% 0.0613 -0.0731)
OKLCHoklch(27.98% 0.095 310)
XYZxyz(3.1517, 1.9331, 6.8623)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37174B #2B4B17
analogous
#1D174B #37174B #4B1745
triadic
#37174B #4B3717 #174B37
tetradic
#37174B #4B1D17 #2B4B17 #17454B
square
#37174B #4B1D17 #2B4B17 #17454B
split-complementary
#37174B #454B17 #174B1D
monochromatic
#110717 #15091C #37174B #59257A #7C34A9

Accessibility & contrast

On white

15.14
#37174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#37174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37174B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37174B#FFFFFF#000000##FFFFFF
##37174B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#34212E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37174b;
/* rgb */ color: rgb(55, 23, 75);
/* oklch */ color: oklch(28.0% 0.095 310.0);
Tailwind
colors: {
  custom: {
    50: '#70567e',
    500: '#37174b',
    950: '#000000',
  },
}
SCSS
$custom: #37174b;
$custom-light: #70567e;
$custom-dark: #000000;
JSON
{
  "hex": "#37174b",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 276.923,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2798,
    "c": 0.09535,
    "h": 310
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#37174B
secondary
#57823C
accent
#DC4B83
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37174B

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

Preview Lab → · Contrast checker → · Palette generator →

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