#371E4E#371E4E

#371E4E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.087 H 305.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#371E4E
RGBrgb(55, 30, 78)
HSLhsl(271, 44%, 21%)
HSVhsv(271, 62%, 31%)
CMYKcmyk(29.5%, 61.5%, 0%, 69.4%)
CIE-LABlab(16.95, 22.98, -25.07)
CIE-LCHlch(16.95, 34.01, 312.51°)
OKLaboklab(29.37% 0.0509 -0.0706)
OKLCHoklch(29.37% 0.087 305.8)
XYZxyz(3.4147, 2.2909, 7.4685)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E4E #354E1E
analogous
#1F1E4E #371E4E #4E1E4D
triadic
#371E4E #4E371E #1E4E37
tetradic
#371E4E #4E1F1E #354E1E #1E4D4E
square
#371E4E #4E1F1E #354E1E #1E4D4E
split-complementary
#371E4E #4D4E1E #1E4E1F
monochromatic
#100916 #180D22 #371E4E #562F7A #7540A6

Accessibility & contrast

On white

14.40
#371E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E4E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E4E#FFFFFF#000000##FFFFFF
##371E4E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2950
Deuteranopia (green-blind)
#162A4D
Tritanopia (blue-blind)
#332732
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371e4e;
/* rgb */ color: rgb(55, 30, 78);
/* oklch */ color: oklch(29.4% 0.087 305.8);
Tailwind
colors: {
  custom: {
    50: '#705b80',
    500: '#371e4e',
    950: '#000000',
  },
}
SCSS
$custom: #371e4e;
$custom-light: #705b80;
$custom-dark: #000000;
JSON
{
  "hex": "#371e4e",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 271.25,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29371,
    "c": 0.08702,
    "h": 305.8
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#371E4E
secondary
#638345
accent
#D45491
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #371E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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