#370B56#370B56

#370B56 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.124 H 306.0°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#370B56
RGBrgb(55, 11, 86)
HSLhsl(275, 77%, 19%)
HSVhsv(275, 87%, 34%)
CMYKcmyk(36%, 87.2%, 0%, 66.3%)
CIE-LABlab(13.96, 35.18, -35.32)
CIE-LCHlch(13.96, 49.85, 314.89°)
OKLaboklab(27.44% 0.073 -0.1006)
OKLCHoklch(27.44% 0.124 306)
XYZxyz(3.3746, 1.7235, 8.9572)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B56 #2A560B
analogous
#120B56 #370B56 #560B50
triadic
#370B56 #56370B #0B5637
tetradic
#370B56 #56120B #2A560B #0B5056
square
#370B56 #56120B #2A560B #0B5056
split-complementary
#370B56 #50560B #0B5612
monochromatic
#11031B #140420 #370B56 #5A128C #7C19C3

Accessibility & contrast

On white

15.62
#370B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#370B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370B56
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B56#FFFFFF#000000##FFFFFF
##370B561.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#311F31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370b56;
/* rgb */ color: rgb(55, 11, 86);
/* oklch */ color: oklch(27.4% 0.124 306.0);
Tailwind
colors: {
  custom: {
    50: '#725186',
    500: '#370b56',
    950: '#000000',
  },
}
SCSS
$custom: #370b56;
$custom-light: #725186;
$custom-dark: #000000;
JSON
{
  "hex": "#370b56",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 275.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27438,
    "c": 0.12431,
    "h": 306
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#370B56
secondary
#56912B
accent
#F43483
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370B56

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

Preview Lab → · Contrast checker → · Palette generator →

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