#370D5C#370D5C

#370D5C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.129 H 302.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#370D5C
RGBrgb(55, 13, 92)
HSLhsl(272, 75%, 21%)
HSVhsv(272, 86%, 36%)
CMYKcmyk(40.2%, 85.9%, 0%, 63.9%)
CIE-LABlab(14.80, 35.92, -37.99)
CIE-LCHlch(14.80, 52.29, 313.39°)
OKLaboklab(28.2% 0.0694 -0.1085)
OKLCHoklch(28.2% 0.129 302.6)
XYZxyz(3.6508, 1.8728, 10.2923)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D5C #325C0D
analogous
#100D5C #370D5C #5C0D59
triadic
#370D5C #5C370D #0D5C37
tetradic
#370D5C #5C100D #325C0D #0D595C
square
#370D5C #5C100D #325C0D #0D595C
split-complementary
#370D5C #595C0D #0D5C10
monochromatic
#10041B #170526 #370D5C #571592 #771CC7

Accessibility & contrast

On white

15.28
#370D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#370D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D5C
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D5C#FFFFFF#000000##FFFFFF
##370D5C1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#2F2335
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370d5c;
/* rgb */ color: rgb(55, 13, 92);
/* oklch */ color: oklch(28.2% 0.129 302.6);
Tailwind
colors: {
  custom: {
    50: '#72528b',
    500: '#370d5c',
    950: '#000000',
  },
}
SCSS
$custom: #370d5c;
$custom-light: #72528b;
$custom-dark: #000000;
JSON
{
  "hex": "#370d5c",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 92
  },
  "hsl": {
    "h": 271.899,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28199,
    "c": 0.12877,
    "h": 302.6
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#370D5C
secondary
#5F962F
accent
#F2368E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #370D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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