#370D4A#370D4A

#370D4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.109 H 312.8°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#370D4A
RGBrgb(55, 13, 74)
HSLhsl(281, 70%, 17%)
HSVhsv(281, 82%, 29%)
CMYKcmyk(25.7%, 82.4%, 0%, 71%)
CIE-LABlab(13.20, 31.38, -28.34)
CIE-LCHlch(13.20, 42.28, 317.91°)
OKLaboklab(26.57% 0.0741 -0.0801)
OKLCHoklch(26.57% 0.109 312.8)
XYZxyz(2.9553, 1.5946, 6.6293)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D4A #204A0D
analogous
#180D4A #370D4A #4A0D3F
triadic
#370D4A #4A370D #0D4A37
tetradic
#370D4A #4A180D #204A0D #0D3F4A
square
#370D4A #4A180D #204A0D #0D3F4A
split-complementary
#370D4A #3F4A0D #0D4A18
monochromatic
#13051A #13051A #370D4A #5E167E #841FB2

Accessibility & contrast

On white

15.92
#370D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370D4A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D4A#FFFFFF#000000##FFFFFF
##370D4A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#351B2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370d4a;
/* rgb */ color: rgb(55, 13, 74);
/* oklch */ color: oklch(26.6% 0.109 312.8);
Tailwind
colors: {
  custom: {
    50: '#71517d',
    500: '#370d4a',
    950: '#000000',
  },
}
SCSS
$custom: #370d4a;
$custom-light: #71517d;
$custom-dark: #000000;
JSON
{
  "hex": "#370d4a",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 281.311,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26569,
    "c": 0.10911,
    "h": 312.8
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#370D4A
secondary
#49852E
accent
#ED3B72
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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