#370C56#370C56

#370C56 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.123 H 305.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#370C56
RGBrgb(55, 12, 86)
HSLhsl(275, 76%, 19%)
HSVhsv(275, 86%, 34%)
CMYKcmyk(36%, 86%, 0%, 66.3%)
CIE-LABlab(14.10, 34.79, -35.10)
CIE-LCHlch(14.10, 49.42, 314.74°)
OKLaboklab(27.53% 0.0721 -0.1)
OKLCHoklch(27.53% 0.123 305.8)
XYZxyz(3.3864, 1.7471, 8.9611)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C56 #2B560C
analogous
#120C56 #370C56 #560C50
triadic
#370C56 #56370C #0C5637
tetradic
#370C56 #56120C #2B560C #0C5056
square
#370C56 #56120C #2B560C #0C5056
split-complementary
#370C56 #50560C #0C5612
monochromatic
#11041B #150520 #370C56 #59138C #7C1BC1

Accessibility & contrast

On white

15.56
#370C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C56
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C56#FFFFFF#000000##FFFFFF
##370C561.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.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: #370c56;
/* rgb */ color: rgb(55, 12, 86);
/* oklch */ color: oklch(27.5% 0.123 305.8);
Tailwind
colors: {
  custom: {
    50: '#725186',
    500: '#370c56',
    950: '#000000',
  },
}
SCSS
$custom: #370c56;
$custom-light: #725186;
$custom-dark: #000000;
JSON
{
  "hex": "#370c56",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 274.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27533,
    "c": 0.12328,
    "h": 305.8
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#370C56
secondary
#57912D
accent
#F23685
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370C56

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

Preview Lab → · Contrast checker → · Palette generator →

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