#370C4C#370C4C

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

Color values

HEX#370C4C
RGBrgb(55, 12, 76)
HSLhsl(280, 73%, 17%)
HSVhsv(280, 84%, 30%)
CMYKcmyk(27.6%, 84.2%, 0%, 70.2%)
CIE-LABlab(13.21, 32.30, -29.70)
CIE-LCHlch(13.21, 43.88, 317.40°)
OKLaboklab(26.63% 0.0747 -0.0841)
OKLCHoklch(26.63% 0.113 311.6)
XYZxyz(3.0113, 1.5971, 6.9857)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C4C #214C0C
analogous
#170C4C #370C4C #4C0C41
triadic
#370C4C #4C370C #0C4C37
tetradic
#370C4C #4C170C #214C0C #0C414C
square
#370C4C #4C170C #214C0C #0C414C
split-complementary
#370C4C #414C0C #0C4C17
monochromatic
#13041A #13041A #370C4C #5D1481 #841DB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##370C4C#FFFFFF#000000##FFFFFF
##370C4C1.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)
#00204E
Deuteranopia (green-blind)
#02234B
Tritanopia (blue-blind)
#341B2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370c4c;
/* rgb */ color: rgb(55, 12, 76);
/* oklch */ color: oklch(26.6% 0.113 311.6);
Tailwind
colors: {
  custom: {
    50: '#71507e',
    500: '#370c4c',
    950: '#000000',
  },
}
SCSS
$custom: #370c4c;
$custom-light: #71507e;
$custom-dark: #000000;
JSON
{
  "hex": "#370c4c",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 280.313,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26633,
    "c": 0.11251,
    "h": 311.6
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#370C4C
secondary
#4A882C
accent
#EF3874
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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