#371C50#371C50

#371C50 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.093 H 305.3°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#371C50
RGBrgb(55, 28, 80)
HSLhsl(271, 48%, 21%)
HSVhsv(271, 65%, 31%)
CMYKcmyk(31.2%, 65%, 0%, 68.6%)
CIE-LABlab(16.61, 24.80, -26.96)
CIE-LCHlch(16.61, 36.63, 312.61°)
OKLaboklab(29.17% 0.0539 -0.0762)
OKLCHoklch(29.17% 0.093 305.3)
XYZxyz(3.4385, 2.2219, 7.8356)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C50 #35501C
analogous
#1D1C50 #371C50 #501C4F
triadic
#371C50 #50371C #1C5037
tetradic
#371C50 #501D1C #35501C #1C4F50
square
#371C50 #501D1C #35501C #1C4F50
split-complementary
#371C50 #4F501C #1C501D
monochromatic
#100817 #180C23 #371C50 #562C7D #753CAB

Accessibility & contrast

On white

14.54
#371C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C50
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C50#FFFFFF#000000##FFFFFF
##371C501.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052852
Deuteranopia (green-blind)
#11294F
Tritanopia (blue-blind)
#332633
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371c50;
/* rgb */ color: rgb(55, 28, 80);
/* oklch */ color: oklch(29.2% 0.093 305.3);
Tailwind
colors: {
  custom: {
    50: '#705981',
    500: '#371c50',
    950: '#000000',
  },
}
SCSS
$custom: #371c50;
$custom-light: #705981;
$custom-dark: #000000;
JSON
{
  "hex": "#371c50",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 271.154,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29172,
    "c": 0.0933,
    "h": 305.3
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#371C50
secondary
#638642
accent
#D85091
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08040A
muted
#7B797C

Preview Lab

Preview with #371C50

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

Preview Lab → · Contrast checker → · Palette generator →

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