#370C4B#370C4B

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

Color values

HEX#370C4B
RGBrgb(55, 12, 75)
HSLhsl(281, 72%, 17%)
HSVhsv(281, 84%, 29%)
CMYKcmyk(26.7%, 84%, 0%, 70.6%)
CIE-LABlab(13.13, 32.05, -29.14)
CIE-LCHlch(13.13, 43.32, 317.72°)
OKLaboklab(26.55% 0.0749 -0.0825)
OKLCHoklch(26.55% 0.111 312.3)
XYZxyz(2.9768, 1.5833, 6.8040)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C4B #204B0C
analogous
#170C4B #370C4B #4B0C40
triadic
#370C4B #4B370C #0C4B37
tetradic
#370C4B #4B170C #204B0C #0C404B
square
#370C4B #4B170C #204B0C #0C404B
split-complementary
#370C4B #404B0C #0C4B17
monochromatic
#13041A #13041A #370C4B #5E1480 #841DB5

Accessibility & contrast

On white

15.95
#370C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C4B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C4B#FFFFFF#000000##FFFFFF
##370C4B1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#04234A
Tritanopia (blue-blind)
#351B2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370c4b;
/* rgb */ color: rgb(55, 12, 75);
/* oklch */ color: oklch(26.5% 0.111 312.3);
Tailwind
colors: {
  custom: {
    50: '#71507e',
    500: '#370c4b',
    950: '#000000',
  },
}
SCSS
$custom: #370c4b;
$custom-light: #71507e;
$custom-dark: #000000;
JSON
{
  "hex": "#370c4b",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 280.952,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26547,
    "c": 0.11143,
    "h": 312.3
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#370C4B
secondary
#49872C
accent
#EF3973
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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