#370C4D#370C4D

#370C4D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.114 H 311.0°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#370C4D
RGBrgb(55, 12, 77)
HSLhsl(280, 73%, 17%)
HSVhsv(280, 84%, 30%)
CMYKcmyk(28.6%, 84.4%, 0%, 69.8%)
CIE-LABlab(13.30, 32.54, -30.25)
CIE-LCHlch(13.30, 44.43, 317.09°)
OKLaboklab(26.72% 0.0745 -0.0857)
OKLCHoklch(26.72% 0.114 311)
XYZxyz(3.0463, 1.6111, 7.1702)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C4D #224D0C
analogous
#160C4D #370C4D #4D0C43
triadic
#370C4D #4D370C #0C4D37
tetradic
#370C4D #4D160C #224D0C #0C434D
square
#370C4D #4D160C #224D0C #0C434D
split-complementary
#370C4D #434D0C #0C4D16
monochromatic
#13041A #13041A #370C4D #5D1482 #831DB7

Accessibility & contrast

On white

15.88
#370C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C4D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C4D#FFFFFF#000000##FFFFFF
##370C4D1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#01234C
Tritanopia (blue-blind)
#341C2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370c4d;
/* rgb */ color: rgb(55, 12, 77);
/* oklch */ color: oklch(26.7% 0.114 311.0);
Tailwind
colors: {
  custom: {
    50: '#71507f',
    500: '#370c4d',
    950: '#000000',
  },
}
SCSS
$custom: #370c4d;
$custom-light: #71507f;
$custom-dark: #000000;
JSON
{
  "hex": "#370c4d",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 279.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2672,
    "c": 0.11358,
    "h": 311
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#370C4D
secondary
#4B892C
accent
#F03876
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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