#37173A#37173A

#37173A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.074 H 324.1°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#37173A
RGBrgb(55, 23, 58)
HSLhsl(295, 43%, 16%)
HSVhsv(295, 60%, 23%)
CMYKcmyk(5.2%, 60.3%, 0%, 77.3%)
CIE-LABlab(14.00, 22.20, -15.83)
CIE-LCHlch(14.00, 27.26, 324.51°)
OKLaboklab(26.79% 0.0603 -0.0437)
OKLCHoklch(26.79% 0.074 324.1)
XYZxyz(2.6456, 1.7306, 4.1969)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37173A #1A3A17
analogous
#25173A #37173A #3A172B
triadic
#37173A #3A3717 #173A37
tetradic
#37173A #3A2517 #1A3A17 #172B3A
square
#37173A #3A2517 #1A3A17 #172B3A
split-complementary
#37173A #2B3A17 #173A25
monochromatic
#150916 #150916 #37173A #612866 #8A3A92

Accessibility & contrast

On white

15.60
#37173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37173A
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37173A#FFFFFF#000000##FFFFFF
##37173A1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213B
Deuteranopia (green-blind)
#1C2539
Tritanopia (blue-blind)
#381B26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37173a;
/* rgb */ color: rgb(55, 23, 58);
/* oklch */ color: oklch(26.8% 0.074 324.1);
Tailwind
colors: {
  custom: {
    50: '#6f5670',
    500: '#37173a',
    950: '#000000',
  },
}
SCSS
$custom: #37173a;
$custom-light: #6f5670;
$custom-dark: #000000;
JSON
{
  "hex": "#37173a",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 294.857,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26792,
    "c": 0.07447,
    "h": 324.1
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#37173A
secondary
#41713C
accent
#D35560
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #37173A

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

Preview Lab → · Contrast checker → · Palette generator →

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