#371C5E#371C5E

#371C5E is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.112 H 298.2°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#371C5E
RGBrgb(55, 28, 94)
HSLhsl(265, 54%, 24%)
HSVhsv(265, 70%, 37%)
CMYKcmyk(41.5%, 70.2%, 0%, 63.1%)
CIE-LABlab(17.69, 28.84, -34.63)
CIE-LCHlch(17.69, 45.06, 309.79°)
OKLaboklab(30.3% 0.0529 -0.0987)
OKLCHoklch(30.3% 0.112 298.2)
XYZxyz(4.0107, 2.4508, 10.8493)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C5E #435E1C
analogous
#1C225E #371C5E #581C5E
triadic
#371C5E #5E371C #1C5E37
tetradic
#371C5E #5E1C22 #435E1C #1C5E58
square
#371C5E #5E1C22 #435E1C #1C5E58
split-complementary
#371C5E #5E581C #225E1C
monochromatic
#0E0718 #1B0E2F #371C5E #532A8D #6E38BC

Accessibility & contrast

On white

14.09
#371C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C5E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C5E#FFFFFF#000000##FFFFFF
##371C5E1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#2E2B3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371c5e;
/* rgb */ color: rgb(55, 28, 94);
/* oklch */ color: oklch(30.3% 0.112 298.2);
Tailwind
colors: {
  custom: {
    50: '#725a8c',
    500: '#371c5e',
    950: '#000000',
  },
}
SCSS
$custom: #371c5e;
$custom-light: #725a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#371c5e",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 264.545,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30302,
    "c": 0.11197,
    "h": 298.2
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#371C5E
secondary
#729342
accent
#DD4AA1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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