#370C57#370C57

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

Color values

HEX#370C57
RGBrgb(55, 12, 87)
HSLhsl(274, 76%, 19%)
HSVhsv(274, 86%, 34%)
CMYKcmyk(36.8%, 86.2%, 0%, 65.9%)
CIE-LABlab(14.19, 35.04, -35.63)
CIE-LCHlch(14.19, 49.97, 314.52°)
OKLaboklab(27.63% 0.0718 -0.1015)
OKLCHoklch(27.63% 0.124 305.3)
XYZxyz(3.4269, 1.7633, 9.1748)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C57 #2C570C
analogous
#120C57 #370C57 #570C52
triadic
#370C57 #57370C #0C5737
tetradic
#370C57 #57120C #2C570C #0C5257
square
#370C57 #57120C #2C570C #0C5257
split-complementary
#370C57 #52570C #0C5712
monochromatic
#11041B #150521 #370C57 #59138D #7B1BC3

Accessibility & contrast

On white

15.53
#370C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C57
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C57#FFFFFF#000000##FFFFFF
##370C571.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.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: #370c57;
/* rgb */ color: rgb(55, 12, 87);
/* oklch */ color: oklch(27.6% 0.124 305.3);
Tailwind
colors: {
  custom: {
    50: '#725187',
    500: '#370c57',
    950: '#000000',
  },
}
SCSS
$custom: #370c57;
$custom-light: #725187;
$custom-dark: #000000;
JSON
{
  "hex": "#370c57",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 274.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27626,
    "c": 0.12435,
    "h": 305.3
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#370C57
secondary
#58922D
accent
#F23586
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370C57

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

Preview Lab → · Contrast checker → · Palette generator →

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