#370E5B#370E5B

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

Color values

HEX#370E5B
RGBrgb(55, 14, 91)
HSLhsl(272, 73%, 21%)
HSVhsv(272, 85%, 36%)
CMYKcmyk(39.6%, 84.6%, 0%, 64.3%)
CIE-LABlab(14.85, 35.25, -37.24)
CIE-LCHlch(14.85, 51.28, 313.42°)
OKLaboklab(28.2% 0.0688 -0.1063)
OKLCHoklch(28.2% 0.127 302.9)
XYZxyz(3.6205, 1.8816, 10.0680)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E5B #325B0E
analogous
#100E5B #370E5B #5B0E58
triadic
#370E5B #5B370E #0E5B37
tetradic
#370E5B #5B100E #325B0E #0E585B
square
#370E5B #5B100E #325B0E #0E585B
split-complementary
#370E5B #585B0E #0E5B10
monochromatic
#10041B #170626 #370E5B #571690 #771EC5

Accessibility & contrast

On white

15.26
#370E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E5B
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E5B#FFFFFF#000000##FFFFFF
##370E5B1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#2F2335
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370e5b;
/* rgb */ color: rgb(55, 14, 91);
/* oklch */ color: oklch(28.2% 0.127 302.9);
Tailwind
colors: {
  custom: {
    50: '#72528a',
    500: '#370e5b',
    950: '#000000',
  },
}
SCSS
$custom: #370e5b;
$custom-light: #72528a;
$custom-dark: #000000;
JSON
{
  "hex": "#370e5b",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 271.948,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28204,
    "c": 0.12662,
    "h": 302.9
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#370E5B
secondary
#5F9530
accent
#F0388E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #370E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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