#371237#371237

#371237 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.081 H 327.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#371237
RGBrgb(55, 18, 55)
HSLhsl(300, 51%, 14%)
HSVhsv(300, 67%, 22%)
CMYKcmyk(0%, 67.3%, 0%, 78.4%)
CIE-LABlab(12.74, 24.45, -15.67)
CIE-LCHlch(12.74, 29.04, 327.34°)
OKLaboklab(25.81% 0.0681 -0.0432)
OKLCHoklch(25.81% 0.081 327.6)
XYZxyz(2.4814, 1.5208, 3.7765)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371237 #123712
analogous
#251237 #371237 #371225
triadic
#371237 #373712 #123737
tetradic
#371237 #372512 #123712 #122537
square
#371237 #372512 #123712 #122537
split-complementary
#371237 #253712 #123725
monochromatic
#170817 #170817 #371237 #652165 #933093

Accessibility & contrast

On white

16.10
#371237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#371237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371237
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371237#FFFFFF#000000##FFFFFF
##3712371.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1E38
Deuteranopia (green-blind)
#1A2336
Tritanopia (blue-blind)
#391622
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #371237;
/* rgb */ color: rgb(55, 18, 55);
/* oklch */ color: oklch(25.8% 0.081 327.6);
Tailwind
colors: {
  custom: {
    50: '#6f526e',
    500: '#371237',
    950: '#000000',
  },
}
SCSS
$custom: #371237;
$custom-light: #6f526e;
$custom-dark: #000000;
JSON
{
  "hex": "#371237",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 300,
    "s": 50.685,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25806,
    "c": 0.0806,
    "h": 327.6
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#371237
secondary
#357035
accent
#DA4E4E
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #371237

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

Preview Lab → · Contrast checker → · Palette generator →

#371237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva