#371C5A#371C5A

#371C5A is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.107 H 300.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#371C5A
RGBrgb(55, 28, 90)
HSLhsl(266, 53%, 23%)
HSVhsv(266, 69%, 35%)
CMYKcmyk(38.9%, 68.9%, 0%, 64.7%)
CIE-LABlab(17.37, 27.66, -32.48)
CIE-LCHlch(17.37, 42.67, 310.42°)
OKLaboklab(29.97% 0.0534 -0.0924)
OKLCHoklch(29.97% 0.107 300)
XYZxyz(3.8358, 2.3809, 9.9283)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C5A #3F5A1C
analogous
#1C205A #371C5A #561C5A
triadic
#371C5A #5A371C #1C5A37
tetradic
#371C5A #5A1C20 #3F5A1C #1C5A56
square
#371C5A #5A1C20 #3F5A1C #1C5A56
split-complementary
#371C5A #5A561C #205A1C
monochromatic
#0E0717 #1A0D2B #371C5A #542B89 #7039B7

Accessibility & contrast

On white

14.23
#371C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C5A
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C5A#FFFFFF#000000##FFFFFF
##371C5A1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#022A59
Tritanopia (blue-blind)
#2F2A38
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371c5a;
/* rgb */ color: rgb(55, 28, 90);
/* oklch */ color: oklch(30.0% 0.107 300.0);
Tailwind
colors: {
  custom: {
    50: '#715a89',
    500: '#371c5a',
    950: '#000000',
  },
}
SCSS
$custom: #371c5a;
$custom-light: #715a89;
$custom-dark: #000000;
JSON
{
  "hex": "#371c5a",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 266.129,
    "s": 52.542,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29966,
    "c": 0.10668,
    "h": 300
  },
  "luminance": 0.02381
}

Semantic roles & 50–950 ramp

primary
#371C5A
secondary
#6E8F42
accent
#DC4C9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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