#370E5D#370E5D

#370E5D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.129 H 302.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#370E5D
RGBrgb(55, 14, 93)
HSLhsl(271, 74%, 21%)
HSVhsv(271, 85%, 36%)
CMYKcmyk(40.9%, 84.9%, 0%, 63.5%)
CIE-LABlab(15.04, 35.77, -38.27)
CIE-LCHlch(15.04, 52.39, 313.06°)
OKLaboklab(28.4% 0.0682 -0.1093)
OKLCHoklch(28.4% 0.129 302)
XYZxyz(3.7079, 1.9166, 10.5284)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E5D #345D0E
analogous
#0F0E5D #370E5D #5D0E5B
triadic
#370E5D #5D370E #0E5D37
tetradic
#370E5D #5D0F0E #345D0E #0E5B5D
square
#370E5D #5D0F0E #345D0E #0E5B5D
split-complementary
#370E5D #5B5D0E #0E5D0F
monochromatic
#10041B #180628 #370E5D #561692 #761EC7

Accessibility & contrast

On white

15.18
#370E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E5D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E5D#FFFFFF#000000##FFFFFF
##370E5D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#2F2436
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #370e5d;
/* rgb */ color: rgb(55, 14, 93);
/* oklch */ color: oklch(28.4% 0.129 302.0);
Tailwind
colors: {
  custom: {
    50: '#73528c',
    500: '#370e5d',
    950: '#000000',
  },
}
SCSS
$custom: #370e5d;
$custom-light: #73528c;
$custom-dark: #000000;
JSON
{
  "hex": "#370e5d",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 271.139,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28395,
    "c": 0.12884,
    "h": 302
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#370E5D
secondary
#619730
accent
#F03790
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #370E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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