#370D57#370D57

#370D57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.123 H 305.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#370D57
RGBrgb(55, 13, 87)
HSLhsl(274, 74%, 20%)
HSVhsv(274, 85%, 34%)
CMYKcmyk(36.8%, 85.1%, 0%, 65.9%)
CIE-LABlab(14.33, 34.63, -35.39)
CIE-LCHlch(14.33, 49.52, 314.37°)
OKLaboklab(27.73% 0.0709 -0.1008)
OKLCHoklch(27.73% 0.123 305.1)
XYZxyz(3.4394, 1.7882, 9.1789)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D57 #2D570D
analogous
#120D57 #370D57 #570D52
triadic
#370D57 #57370D #0D5737
tetradic
#370D57 #57120D #2D570D #0D5257
square
#370D57 #57120D #2D570D #0D5257
split-complementary
#370D57 #52570D #0D5712
monochromatic
#11041B #150522 #370D57 #59158C #7A1DC1

Accessibility & contrast

On white

15.47
#370D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#370D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D57
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D57#FFFFFF#000000##FFFFFF
##370D571.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#312032
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370d57;
/* rgb */ color: rgb(55, 13, 87);
/* oklch */ color: oklch(27.7% 0.123 305.1);
Tailwind
colors: {
  custom: {
    50: '#725187',
    500: '#370d57',
    950: '#000000',
  },
}
SCSS
$custom: #370d57;
$custom-light: #725187;
$custom-dark: #000000;
JSON
{
  "hex": "#370d57",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 274.054,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27725,
    "c": 0.12329,
    "h": 305.1
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#370D57
secondary
#59922E
accent
#F13787
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370D57

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

Preview Lab → · Contrast checker → · Palette generator →

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