#371D50#371D50

#371D50 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.3% C 0.092 H 304.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#371D50
RGBrgb(55, 29, 80)
HSLhsl(271, 47%, 21%)
HSVhsv(271, 64%, 31%)
CMYKcmyk(31.2%, 63.7%, 0%, 68.6%)
CIE-LABlab(16.85, 24.18, -26.59)
CIE-LCHlch(16.85, 35.93, 312.28°)
OKLaboklab(29.34% 0.0524 -0.0751)
OKLCHoklch(29.34% 0.092 304.9)
XYZxyz(3.4626, 2.2702, 7.8436)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D50 #36501D
analogous
#1E1D50 #371D50 #501D50
triadic
#371D50 #50371D #1D5037
tetradic
#371D50 #501E1D #36501D #1D5050
square
#371D50 #501E1D #36501D #1D5050
split-complementary
#371D50 #50501D #1D501E
monochromatic
#0F0816 #180D23 #371D50 #562D7D #753EAA

Accessibility & contrast

On white

14.44
#371D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D50
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D50#FFFFFF#000000##FFFFFF
##371D501.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082952
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#332733
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371d50;
/* rgb */ color: rgb(55, 29, 80);
/* oklch */ color: oklch(29.3% 0.092 304.9);
Tailwind
colors: {
  custom: {
    50: '#705a81',
    500: '#371d50',
    950: '#000000',
  },
}
SCSS
$custom: #371d50;
$custom-light: #705a81;
$custom-dark: #000000;
JSON
{
  "hex": "#371d50",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 270.588,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29343,
    "c": 0.09155,
    "h": 304.9
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#371D50
secondary
#648544
accent
#D65193
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #371D50

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

Preview Lab → · Contrast checker → · Palette generator →

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