#371E55#371E55

#371E55 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.097 H 301.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#371E55
RGBrgb(55, 30, 85)
HSLhsl(267, 48%, 23%)
HSVhsv(267, 65%, 33%)
CMYKcmyk(35.3%, 64.7%, 0%, 66.7%)
CIE-LABlab(17.44, 24.98, -29.01)
CIE-LCHlch(17.44, 38.28, 310.73°)
OKLaboklab(29.9% 0.0509 -0.0822)
OKLCHoklch(29.9% 0.097 301.8)
XYZxyz(3.6791, 2.3966, 8.8613)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E55 #3C551E
analogous
#1E2055 #371E55 #531E55
triadic
#371E55 #55371E #1E5537
tetradic
#371E55 #551E20 #3C551E #1E5553
square
#371E55 #551E20 #3C551E #1E5553
split-complementary
#371E55 #55531E #20551E
monochromatic
#0F0817 #1A0E28 #371E55 #542E82 #723EAF

Accessibility & contrast

On white

14.19
#371E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E55
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E55#FFFFFF#000000##FFFFFF
##371E551.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032A57
Deuteranopia (green-blind)
#0E2B54
Tritanopia (blue-blind)
#312936
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371e55;
/* rgb */ color: rgb(55, 30, 85);
/* oklch */ color: oklch(29.9% 0.097 301.8);
Tailwind
colors: {
  custom: {
    50: '#705b85',
    500: '#371e55',
    950: '#000000',
  },
}
SCSS
$custom: #371e55;
$custom-light: #705b85;
$custom-dark: #000000;
JSON
{
  "hex": "#371e55",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 267.273,
    "s": 47.826,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29897,
    "c": 0.09667,
    "h": 301.8
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#371E55
secondary
#6B8A45
accent
#D7509A
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371E55

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

Preview Lab → · Contrast checker → · Palette generator →

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