#370D4C#370D4C

#370D4C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.111 H 311.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#370D4C
RGBrgb(55, 13, 76)
HSLhsl(280, 71%, 17%)
HSVhsv(280, 83%, 30%)
CMYKcmyk(27.6%, 82.9%, 0%, 70.2%)
CIE-LABlab(13.36, 31.86, -29.45)
CIE-LCHlch(13.36, 43.39, 317.25°)
OKLaboklab(26.74% 0.0737 -0.0834)
OKLCHoklch(26.74% 0.111 311.5)
XYZxyz(3.0237, 1.6220, 6.9899)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D4C #224C0D
analogous
#170D4C #370D4C #4C0D42
triadic
#370D4C #4C370D #0D4C37
tetradic
#370D4C #4C170D #224C0D #0D424C
square
#370D4C #4C170D #224C0D #0D424C
split-complementary
#370D4C #424C0D #0D4C17
monochromatic
#13041A #13041A #370D4C #5D1680 #831FB5

Accessibility & contrast

On white

15.86
#370D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#370D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D4C
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D4C#FFFFFF#000000##FFFFFF
##370D4C1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#03234B
Tritanopia (blue-blind)
#341C2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370d4c;
/* rgb */ color: rgb(55, 13, 76);
/* oklch */ color: oklch(26.7% 0.111 311.5);
Tailwind
colors: {
  custom: {
    50: '#71517e',
    500: '#370d4c',
    950: '#000000',
  },
}
SCSS
$custom: #370d4c;
$custom-light: #71517e;
$custom-dark: #000000;
JSON
{
  "hex": "#370d4c",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 280,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26739,
    "c": 0.11128,
    "h": 311.5
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#370D4C
secondary
#4B872E
accent
#EE3A76
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370D4C

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

Preview Lab → · Contrast checker → · Palette generator →

#370D4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva