#371F50#371F50

#371F50 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.7% C 0.088 H 304.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#371F50
RGBrgb(55, 31, 80)
HSLhsl(269, 44%, 22%)
HSVhsv(269, 61%, 31%)
CMYKcmyk(31.2%, 61.2%, 0%, 68.6%)
CIE-LABlab(17.33, 22.91, -25.82)
CIE-LCHlch(17.33, 34.51, 311.58°)
OKLaboklab(29.7% 0.0494 -0.0728)
OKLCHoklch(29.7% 0.088 304.2)
XYZxyz(3.5132, 2.3714, 7.8605)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371F50 #38501F
analogous
#1F2050 #371F50 #501F50
triadic
#371F50 #50371F #1F5037
tetradic
#371F50 #501F20 #38501F #1F5050
square
#371F50 #501F20 #38501F #1F5050
split-complementary
#371F50 #50501F #20501F
monochromatic
#0F0916 #190E24 #371F50 #55307C #7441A8

Accessibility & contrast

On white

14.25
#371F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371F50
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371F50#FFFFFF#000000##FFFFFF
##371F501.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2A52
Deuteranopia (green-blind)
#152B4F
Tritanopia (blue-blind)
#332834
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371f50;
/* rgb */ color: rgb(55, 31, 80);
/* oklch */ color: oklch(29.7% 0.088 304.2);
Tailwind
colors: {
  custom: {
    50: '#705b81',
    500: '#371f50',
    950: '#000000',
  },
}
SCSS
$custom: #371f50;
$custom-light: #705b81;
$custom-dark: #000000;
JSON
{
  "hex": "#371f50",
  "rgb": {
    "r": 55,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 269.388,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29696,
    "c": 0.08799,
    "h": 304.2
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#371F50
secondary
#668546
accent
#D45495
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07040A
muted
#7A797C

Preview Lab

Preview with #371F50

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

Preview Lab → · Contrast checker → · Palette generator →

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