#371C55#371C55

#371C55 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.100 H 302.5°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#371C55
RGBrgb(55, 28, 85)
HSLhsl(268, 50%, 22%)
HSVhsv(268, 67%, 33%)
CMYKcmyk(35.3%, 67.1%, 0%, 66.7%)
CIE-LABlab(16.98, 26.22, -29.75)
CIE-LCHlch(16.98, 39.66, 311.39°)
OKLaboklab(29.56% 0.0537 -0.0843)
OKLCHoklch(29.56% 0.1 302.5)
XYZxyz(3.6301, 2.2986, 8.8450)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C55 #3A551C
analogous
#1C1E55 #371C55 #541C55
triadic
#371C55 #55371C #1C5537
tetradic
#371C55 #551C1E #3A551C #1C5554
square
#371C55 #551C1E #3A551C #1C5554
split-complementary
#371C55 #55541C #1E551C
monochromatic
#0F0817 #190D27 #371C55 #552B83 #733AB1

Accessibility & contrast

On white

14.39
#371C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C55
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C55#FFFFFF#000000##FFFFFF
##371C551.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#0B2A54
Tritanopia (blue-blind)
#312835
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371c55;
/* rgb */ color: rgb(55, 28, 85);
/* oklch */ color: oklch(29.6% 0.100 302.5);
Tailwind
colors: {
  custom: {
    50: '#705a85',
    500: '#371c55',
    950: '#000000',
  },
}
SCSS
$custom: #371c55;
$custom-light: #705a85;
$custom-dark: #000000;
JSON
{
  "hex": "#371c55",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 85
  },
  "hsl": {
    "h": 268.421,
    "s": 50.442,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29561,
    "c": 0.10001,
    "h": 302.5
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#371C55
secondary
#688B42
accent
#DA4E98
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371C55

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

Preview Lab → · Contrast checker → · Palette generator →

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