#370F5A#370F5A

#370F5A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.124 H 303.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#370F5A
RGBrgb(55, 15, 90)
HSLhsl(272, 71%, 21%)
HSVhsv(272, 83%, 35%)
CMYKcmyk(38.9%, 83.3%, 0%, 64.7%)
CIE-LABlab(14.91, 34.55, -36.48)
CIE-LCHlch(14.91, 50.24, 313.44°)
OKLaboklab(28.21% 0.0682 -0.104)
OKLCHoklch(28.21% 0.124 303.2)
XYZxyz(3.5914, 1.8921, 9.8469)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F5A #325A0F
analogous
#110F5A #370F5A #5A0F57
triadic
#370F5A #5A370F #0F5A37
tetradic
#370F5A #5A110F #325A0F #0F575A
square
#370F5A #5A110F #325A0F #0F575A
split-complementary
#370F5A #575A0F #0F5A11
monochromatic
#10041A #170626 #370F5A #57188E #7720C3

Accessibility & contrast

On white

15.24
#370F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F5A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F5A#FFFFFF#000000##FFFFFF
##370F5A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#302334
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370f5a;
/* rgb */ color: rgb(55, 15, 90);
/* oklch */ color: oklch(28.2% 0.124 303.2);
Tailwind
colors: {
  custom: {
    50: '#725389',
    500: '#370f5a',
    950: '#000000',
  },
}
SCSS
$custom: #370f5a;
$custom-light: #725389;
$custom-dark: #000000;
JSON
{
  "hex": "#370f5a",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 272,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28214,
    "c": 0.1244,
    "h": 303.2
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#370F5A
secondary
#5F9431
accent
#EE3A8E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #370F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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