#371C5D#371C5D

#371C5D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.2% C 0.111 H 298.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#371C5D
RGBrgb(55, 28, 93)
HSLhsl(265, 54%, 24%)
HSVhsv(265, 70%, 36%)
CMYKcmyk(40.9%, 69.9%, 0%, 63.5%)
CIE-LABlab(17.61, 28.54, -34.09)
CIE-LCHlch(17.61, 44.46, 309.93°)
OKLaboklab(30.22% 0.053 -0.0971)
OKLCHoklch(30.22% 0.111 298.6)
XYZxyz(3.9661, 2.4330, 10.6145)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C5D #425D1C
analogous
#1C215D #371C5D #571C5D
triadic
#371C5D #5D371C #1C5D37
tetradic
#371C5D #5D1C21 #425D1C #1C5D57
square
#371C5D #5D1C21 #425D1C #1C5D57
split-complementary
#371C5D #5D571C #215D1C
monochromatic
#0E0718 #1B0E2E #371C5D #532A8C #6F38BB

Accessibility & contrast

On white

14.13
#371C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C5D
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C5D#FFFFFF#000000##FFFFFF
##371C5D1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#2E2B39
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371c5d;
/* rgb */ color: rgb(55, 28, 93);
/* oklch */ color: oklch(30.2% 0.111 298.6);
Tailwind
colors: {
  custom: {
    50: '#715a8b',
    500: '#371c5d',
    950: '#000000',
  },
}
SCSS
$custom: #371c5d;
$custom-light: #715a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#371c5d",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 264.923,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.11065,
    "h": 298.6
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#371C5D
secondary
#719242
accent
#DD4BA0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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