#371E5D#371E5D

#371E5D is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.108 H 298.0°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#371E5D
RGBrgb(55, 30, 93)
HSLhsl(264, 51%, 24%)
HSVhsv(264, 68%, 36%)
CMYKcmyk(40.9%, 67.7%, 0%, 63.5%)
CIE-LABlab(18.06, 27.33, -33.37)
CIE-LCHlch(18.06, 43.14, 309.32°)
OKLaboklab(30.54% 0.0505 -0.095)
OKLCHoklch(30.54% 0.108 298)
XYZxyz(4.0151, 2.5310, 10.6308)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E5D #445D1E
analogous
#1E245D #371E5D #571E5D
triadic
#371E5D #5D371E #1E5D37
tetradic
#371E5D #5D1E24 #445D1E #1E5D57
square
#371E5D #5D1E24 #445D1E #1E5D57
split-complementary
#371E5D #5D571E #245D1E
monochromatic
#0E0717 #1C0F2F #371E5D #522D8B #6E3CBA

Accessibility & contrast

On white

13.94
#371E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E5D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E5D#FFFFFF#000000##FFFFFF
##371E5D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#012B5C
Tritanopia (blue-blind)
#2E2C3A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371e5d;
/* rgb */ color: rgb(55, 30, 93);
/* oklch */ color: oklch(30.5% 0.108 298.0);
Tailwind
colors: {
  custom: {
    50: '#715b8b',
    500: '#371e5d',
    950: '#000000',
  },
}
SCSS
$custom: #371e5d;
$custom-light: #715b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#371e5d",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 263.81,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30539,
    "c": 0.10757,
    "h": 298
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#371E5D
secondary
#739245
accent
#DB4DA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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