#371E59#371E59

#371E59 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.2% C 0.102 H 299.8°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#371E59
RGBrgb(55, 30, 89)
HSLhsl(265, 50%, 23%)
HSVhsv(265, 66%, 35%)
CMYKcmyk(38.2%, 66.3%, 0%, 65.1%)
CIE-LABlab(17.75, 26.15, -31.21)
CIE-LCHlch(17.75, 40.72, 309.96°)
OKLaboklab(30.21% 0.0508 -0.0886)
OKLCHoklch(30.21% 0.102 299.8)
XYZxyz(3.8426, 2.4620, 9.7220)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E59 #40591E
analogous
#1E2259 #371E59 #541E59
triadic
#371E59 #59371E #1E5937
tetradic
#371E59 #591E22 #40591E #1E5954
square
#371E59 #591E22 #40591E #1E5954
split-complementary
#371E59 #59541E #22591E
monochromatic
#0E0817 #1B0F2B #371E59 #532D87 #703DB5

Accessibility & contrast

On white

14.07
#371E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E59
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E59#FFFFFF#000000##FFFFFF
##371E591.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#082B58
Tritanopia (blue-blind)
#302B38
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371e59;
/* rgb */ color: rgb(55, 30, 89);
/* oklch */ color: oklch(30.2% 0.102 299.8);
Tailwind
colors: {
  custom: {
    50: '#715b88',
    500: '#371e59',
    950: '#000000',
  },
}
SCSS
$custom: #371e59;
$custom-light: #715b88;
$custom-dark: #000000;
JSON
{
  "hex": "#371e59",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 265.424,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30213,
    "c": 0.10215,
    "h": 299.8
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#371E59
secondary
#6F8E45
accent
#D94F9E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371E59

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

Preview Lab → · Contrast checker → · Palette generator →

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