#370F57#370F57

#370F57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.121 H 304.8°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#370F57
RGBrgb(55, 15, 87)
HSLhsl(273, 71%, 20%)
HSVhsv(273, 83%, 34%)
CMYKcmyk(36.8%, 82.8%, 0%, 65.9%)
CIE-LABlab(14.64, 33.76, -34.90)
CIE-LCHlch(14.64, 48.56, 314.05°)
OKLaboklab(27.94% 0.069 -0.0994)
OKLCHoklch(27.94% 0.121 304.8)
XYZxyz(3.4663, 1.8420, 9.1879)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F57 #2F570F
analogous
#130F57 #370F57 #570F53
triadic
#370F57 #57370F #0F5737
tetradic
#370F57 #57130F #2F570F #0F5357
square
#370F57 #57130F #2F570F #0F5357
split-complementary
#370F57 #53570F #0F5713
monochromatic
#10051A #160623 #370F57 #58188B #7921BF

Accessibility & contrast

On white

15.35
#370F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#370F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F57
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F57#FFFFFF#000000##FFFFFF
##370F571.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#312132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370f57;
/* rgb */ color: rgb(55, 15, 87);
/* oklch */ color: oklch(27.9% 0.121 304.8);
Tailwind
colors: {
  custom: {
    50: '#725287',
    500: '#370f57',
    950: '#000000',
  },
}
SCSS
$custom: #370f57;
$custom-light: #725287;
$custom-dark: #000000;
JSON
{
  "hex": "#370f57",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 273.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.27936,
    "c": 0.12104,
    "h": 304.8
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#370F57
secondary
#5C9131
accent
#ED3A8A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F57

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

Preview Lab → · Contrast checker → · Palette generator →

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