#371C53#371C53

#371C53 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.097 H 303.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#371C53
RGBrgb(55, 28, 83)
HSLhsl(269, 50%, 22%)
HSVhsv(269, 66%, 33%)
CMYKcmyk(33.7%, 66.3%, 0%, 67.5%)
CIE-LABlab(16.83, 25.65, -28.64)
CIE-LCHlch(16.83, 38.45, 311.84°)
OKLaboklab(29.4% 0.0538 -0.0811)
OKLCHoklch(29.4% 0.097 303.6)
XYZxyz(3.5518, 2.2673, 8.4324)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C53 #38531C
analogous
#1C1C53 #371C53 #531C53
triadic
#371C53 #53371C #1C5337
tetradic
#371C53 #531C1C #38531C #1C5353
square
#371C53 #531C1C #38531C #1C5353
split-complementary
#371C53 #53531C #1C531C
monochromatic
#0F0817 #190D25 #371C53 #552B81 #743BAF

Accessibility & contrast

On white

14.45
#371C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C53
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C53#FFFFFF#000000##FFFFFF
##371C531.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012955
Deuteranopia (green-blind)
#0E2952
Tritanopia (blue-blind)
#322734
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371c53;
/* rgb */ color: rgb(55, 28, 83);
/* oklch */ color: oklch(29.4% 0.097 303.6);
Tailwind
colors: {
  custom: {
    50: '#705a84',
    500: '#371c53',
    950: '#000000',
  },
}
SCSS
$custom: #371c53;
$custom-light: #705a84;
$custom-dark: #000000;
JSON
{
  "hex": "#371c53",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 83
  },
  "hsl": {
    "h": 269.455,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29403,
    "c": 0.09733,
    "h": 303.6
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#371C53
secondary
#668942
accent
#D94F95
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #371C53

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

Preview Lab → · Contrast checker → · Palette generator →

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