#370D56#370D56

#370D56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.122 H 305.7°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#370D56
RGBrgb(55, 13, 86)
HSLhsl(275, 74%, 19%)
HSVhsv(275, 85%, 34%)
CMYKcmyk(36%, 84.9%, 0%, 66.3%)
CIE-LABlab(14.24, 34.37, -34.87)
CIE-LCHlch(14.24, 48.96, 314.59°)
OKLaboklab(27.63% 0.0712 -0.0993)
OKLCHoklch(27.63% 0.122 305.7)
XYZxyz(3.3988, 1.7720, 8.9653)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D56 #2C560D
analogous
#130D56 #370D56 #560D51
triadic
#370D56 #56370D #0D5637
tetradic
#370D56 #56130D #2C560D #0D5156
square
#370D56 #56130D #2C560D #0D5156
split-complementary
#370D56 #51560D #0D5613
monochromatic
#11041B #150521 #370D56 #59158B #7B1DC0

Accessibility & contrast

On white

15.51
#370D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#370D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D56
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D56#FFFFFF#000000##FFFFFF
##370D561.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#312031
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370d56;
/* rgb */ color: rgb(55, 13, 86);
/* oklch */ color: oklch(27.6% 0.122 305.7);
Tailwind
colors: {
  custom: {
    50: '#725186',
    500: '#370d56',
    950: '#000000',
  },
}
SCSS
$custom: #370d56;
$custom-light: #725186;
$custom-dark: #000000;
JSON
{
  "hex": "#370d56",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 274.521,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27632,
    "c": 0.12219,
    "h": 305.7
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#370D56
secondary
#58912E
accent
#F03786
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370D56

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

Preview Lab → · Contrast checker → · Palette generator →

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