#37173E#37173E

#37173E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.1% C 0.079 H 320.2°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#37173E
RGBrgb(55, 23, 62)
HSLhsl(289, 46%, 17%)
HSVhsv(289, 63%, 24%)
CMYKcmyk(11.3%, 62.9%, 0%, 75.7%)
CIE-LABlab(14.25, 23.15, -18.27)
CIE-LCHlch(14.25, 29.49, 321.71°)
OKLaboklab(27.05% 0.0608 -0.0508)
OKLCHoklch(27.05% 0.079 320.2)
XYZxyz(2.7513, 1.7729, 4.7538)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37173E #1E3E17
analogous
#24173E #37173E #3E1732
triadic
#37173E #3E3717 #173E37
tetradic
#37173E #3E2417 #1E3E17 #17323E
square
#37173E #3E2417 #1E3E17 #17323E
split-complementary
#37173E #323E17 #173E24
monochromatic
#140816 #140816 #37173E #5F286B #863897

Accessibility & contrast

On white

15.50
#37173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#37173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37173E
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37173E#FFFFFF#000000##FFFFFF
##37173E1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F223F
Deuteranopia (green-blind)
#1A253D
Tritanopia (blue-blind)
#371D27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37173e;
/* rgb */ color: rgb(55, 23, 62);
/* oklch */ color: oklch(27.1% 0.079 320.2);
Tailwind
colors: {
  custom: {
    50: '#6f5673',
    500: '#37173e',
    950: '#000000',
  },
}
SCSS
$custom: #37173e;
$custom-light: #6f5673;
$custom-dark: #000000;
JSON
{
  "hex": "#37173e",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 289.231,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2705,
    "c": 0.07923,
    "h": 320.2
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#37173E
secondary
#46753C
accent
#D6526A
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #37173E

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

Preview Lab → · Contrast checker → · Palette generator →

#37173E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva