#37174D#37174D

#37174D is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.098 H 308.7°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#37174D
RGBrgb(55, 23, 77)
HSLhsl(276, 54%, 20%)
HSVhsv(276, 70%, 30%)
CMYKcmyk(28.6%, 70.1%, 0%, 69.8%)
CIE-LABlab(15.28, 26.98, -27.05)
CIE-LCHlch(15.28, 38.20, 314.92°)
OKLaboklab(28.14% 0.0612 -0.0764)
OKLCHoklch(28.14% 0.098 308.7)
XYZxyz(3.2212, 1.9609, 7.2285)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37174D #2D4D17
analogous
#1C174D #37174D #4D1748
triadic
#37174D #4D3717 #174D37
tetradic
#37174D #4D1C17 #2D4D17 #17484D
square
#37174D #4D1C17 #2D4D17 #17484D
split-complementary
#37174D #484D17 #174D1C
monochromatic
#110718 #15091E #37174D #59257C #7A33AB

Accessibility & contrast

On white

15.08
#37174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37174D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37174D#FFFFFF#000000##FFFFFF
##37174D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#0E274C
Tritanopia (blue-blind)
#34222F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37174d;
/* rgb */ color: rgb(55, 23, 77);
/* oklch */ color: oklch(28.1% 0.098 308.7);
Tailwind
colors: {
  custom: {
    50: '#70567f',
    500: '#37174d',
    950: '#000000',
  },
}
SCSS
$custom: #37174d;
$custom-light: #70567f;
$custom-dark: #000000;
JSON
{
  "hex": "#37174d",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 275.556,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28135,
    "c": 0.09786,
    "h": 308.7
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#37174D
secondary
#59843C
accent
#DD4A86
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37174D

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

Preview Lab → · Contrast checker → · Palette generator →

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