#371C5C#371C5C

#371C5C is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.109 H 299.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#371C5C
RGBrgb(55, 28, 92)
HSLhsl(265, 53%, 24%)
HSVhsv(265, 70%, 36%)
CMYKcmyk(40.2%, 69.6%, 0%, 63.9%)
CIE-LABlab(17.53, 28.25, -33.56)
CIE-LCHlch(17.53, 43.87, 310.09°)
OKLaboklab(30.13% 0.0532 -0.0955)
OKLCHoklch(30.13% 0.109 299.1)
XYZxyz(3.9221, 2.4154, 10.3827)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C5C #415C1C
analogous
#1C215C #371C5C #571C5C
triadic
#371C5C #5C371C #1C5C37
tetradic
#371C5C #5C1C21 #415C1C #1C5C57
square
#371C5C #5C1C21 #415C1C #1C5C57
split-complementary
#371C5C #5C571C #215C1C
monochromatic
#0E0717 #1B0E2D #371C5C #532A8B #6F39BA

Accessibility & contrast

On white

14.16
#371C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C5C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C5C#FFFFFF#000000##FFFFFF
##371C5C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#2F2A39
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371c5c;
/* rgb */ color: rgb(55, 28, 92);
/* oklch */ color: oklch(30.1% 0.109 299.1);
Tailwind
colors: {
  custom: {
    50: '#715a8b',
    500: '#371c5c',
    950: '#000000',
  },
}
SCSS
$custom: #371c5c;
$custom-light: #715a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#371c5c",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 265.313,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.10933,
    "h": 299.1
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#371C5C
secondary
#709142
accent
#DD4B9F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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