#370F59#370F59

#370F59 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.123 H 303.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#370F59
RGBrgb(55, 15, 89)
HSLhsl(272, 71%, 20%)
HSVhsv(272, 83%, 35%)
CMYKcmyk(38.2%, 83.1%, 0%, 65.1%)
CIE-LABlab(14.82, 34.29, -35.96)
CIE-LCHlch(14.82, 49.68, 313.64°)
OKLaboklab(28.12% 0.0685 -0.1025)
OKLCHoklch(28.12% 0.123 303.7)
XYZxyz(3.5491, 1.8751, 9.6242)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F59 #31590F
analogous
#120F59 #370F59 #590F56
triadic
#370F59 #59370F #0F5937
tetradic
#370F59 #59120F #31590F #0F5659
square
#370F59 #59120F #31590F #0F5659
split-complementary
#370F59 #56590F #0F5912
monochromatic
#10041A #170625 #370F59 #57188D #7821C2

Accessibility & contrast

On white

15.27
#370F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#370F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F59
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F59#FFFFFF#000000##FFFFFF
##370F591.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#302234
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370f59;
/* rgb */ color: rgb(55, 15, 89);
/* oklch */ color: oklch(28.1% 0.123 303.7);
Tailwind
colors: {
  custom: {
    50: '#725289',
    500: '#370f59',
    950: '#000000',
  },
}
SCSS
$custom: #370f59;
$custom-light: #725289;
$custom-dark: #000000;
JSON
{
  "hex": "#370f59",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 272.432,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28121,
    "c": 0.12328,
    "h": 303.7
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#370F59
secondary
#5E9331
accent
#EE3A8D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F59

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

Preview Lab → · Contrast checker → · Palette generator →

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