#370B4C#370B4C

#370B4C is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.114 H 311.8°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#370B4C
RGBrgb(55, 11, 76)
HSLhsl(281, 75%, 17%)
HSVhsv(281, 86%, 30%)
CMYKcmyk(27.6%, 85.5%, 0%, 70.2%)
CIE-LABlab(13.07, 32.71, -29.93)
CIE-LCHlch(13.07, 44.34, 317.54°)
OKLaboklab(26.53% 0.0757 -0.0848)
OKLCHoklch(26.53% 0.114 311.8)
XYZxyz(2.9995, 1.5735, 6.9818)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B4C #204C0B
analogous
#160B4C #370B4C #4C0B41
triadic
#370B4C #4C370B #0B4C37
tetradic
#370B4C #4C160B #204C0B #0B414C
square
#370B4C #4C160B #204C0B #0B414C
split-complementary
#370B4C #414C0B #0B4C16
monochromatic
#13041B #13041B #370B4C #5E1381 #841AB7

Accessibility & contrast

On white

15.97
#370B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#370B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370B4C
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B4C#FFFFFF#000000##FFFFFF
##370B4C1.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370b4c;
/* rgb */ color: rgb(55, 11, 76);
/* oklch */ color: oklch(26.5% 0.114 311.8);
Tailwind
colors: {
  custom: {
    50: '#71507e',
    500: '#370b4c',
    950: '#000000',
  },
}
SCSS
$custom: #370b4c;
$custom-light: #71507e;
$custom-dark: #000000;
JSON
{
  "hex": "#370b4c",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 76
  },
  "hsl": {
    "h": 280.615,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26531,
    "c": 0.11368,
    "h": 311.8
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#370B4C
secondary
#49882B
accent
#F13673
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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