#37173B#37173B

#37173B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.076 H 323.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#37173B
RGBrgb(55, 23, 59)
HSLhsl(293, 44%, 16%)
HSVhsv(293, 61%, 23%)
CMYKcmyk(6.8%, 61%, 0%, 76.9%)
CIE-LABlab(14.06, 22.43, -16.44)
CIE-LCHlch(14.06, 27.81, 323.76°)
OKLaboklab(26.86% 0.0605 -0.0455)
OKLCHoklch(26.86% 0.076 323.1)
XYZxyz(2.6713, 1.7409, 4.3321)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37173B #1B3B17
analogous
#25173B #37173B #3B172D
triadic
#37173B #3B3717 #173B37
tetradic
#37173B #3B2517 #1B3B17 #172D3B
square
#37173B #3B2517 #1B3B17 #172D3B
split-complementary
#37173B #2D3B17 #173B25
monochromatic
#150916 #150916 #37173B #602867 #893993

Accessibility & contrast

On white

15.58
#37173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37173B
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37173B#FFFFFF#000000##FFFFFF
##37173B1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12213C
Deuteranopia (green-blind)
#1C253A
Tritanopia (blue-blind)
#381C26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #37173b;
/* rgb */ color: rgb(55, 23, 59);
/* oklch */ color: oklch(26.9% 0.076 323.1);
Tailwind
colors: {
  custom: {
    50: '#6f5671',
    500: '#37173b',
    950: '#000000',
  },
}
SCSS
$custom: #37173b;
$custom-light: #6f5671;
$custom-dark: #000000;
JSON
{
  "hex": "#37173b",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 293.333,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26855,
    "c": 0.07564,
    "h": 323.1
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#37173B
secondary
#42723C
accent
#D45462
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070307
muted
#7A787A

Preview Lab

Preview with #37173B

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

Preview Lab → · Contrast checker → · Palette generator →

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