#370F58#370F58

#370F58 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.122 H 304.3°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#370F58
RGBrgb(55, 15, 88)
HSLhsl(273, 71%, 20%)
HSVhsv(273, 83%, 35%)
CMYKcmyk(37.5%, 83%, 0%, 65.5%)
CIE-LABlab(14.73, 34.02, -35.43)
CIE-LCHlch(14.73, 49.12, 313.84°)
OKLaboklab(28.03% 0.0688 -0.101)
OKLCHoklch(28.03% 0.122 304.3)
XYZxyz(3.5074, 1.8585, 9.4046)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F58 #30580F
analogous
#130F58 #370F58 #580F54
triadic
#370F58 #58370F #0F5837
tetradic
#370F58 #58130F #30580F #0F5458
square
#370F58 #58130F #30580F #0F5458
split-complementary
#370F58 #54580F #0F5813
monochromatic
#10041A #160624 #370F58 #58188C #7821C1

Accessibility & contrast

On white

15.31
#370F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F58
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F58#FFFFFF#000000##FFFFFF
##370F581.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#312233
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370f58;
/* rgb */ color: rgb(55, 15, 88);
/* oklch */ color: oklch(28.0% 0.122 304.3);
Tailwind
colors: {
  custom: {
    50: '#725288',
    500: '#370f58',
    950: '#000000',
  },
}
SCSS
$custom: #370f58;
$custom-light: #725288;
$custom-dark: #000000;
JSON
{
  "hex": "#370f58",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 272.877,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28028,
    "c": 0.12216,
    "h": 304.3
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#370F58
secondary
#5D9231
accent
#EE3A8B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F58

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

Preview Lab → · Contrast checker → · Palette generator →

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