#371C6F#371C6F

#371C6F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.134 H 291.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#371C6F
RGBrgb(55, 28, 111)
HSLhsl(260, 60%, 27%)
HSVhsv(260, 75%, 44%)
CMYKcmyk(50.5%, 74.8%, 0%, 56.5%)
CIE-LABlab(19.18, 33.92, -43.36)
CIE-LCHlch(19.18, 55.05, 308.04°)
OKLaboklab(31.83% 0.0499 -0.1243)
OKLCHoklch(31.83% 0.134 291.9)
XYZxyz(4.8592, 2.7903, 15.3184)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C6F #546F1C
analogous
#1C2B6F #371C6F #611C6F
triadic
#371C6F #6F371C #1C6F37
tetradic
#371C6F #6F1C2B #546F1C #1C6F61
square
#371C6F #6F1C2B #546F1C #1C6F61
split-complementary
#371C6F #6F611C #2B6F1C
monochromatic
#0C0618 #1F103E #371C6F #4F28A0 #6938CD

Accessibility & contrast

On white

13.48
#371C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#371C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C6F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C6F#FFFFFF#000000##FFFFFF
##371C6F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#253143
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371c6f;
/* rgb */ color: rgb(55, 28, 111);
/* oklch */ color: oklch(31.8% 0.134 291.9);
Tailwind
colors: {
  custom: {
    50: '#745b99',
    500: '#371c6f',
    950: '#000000',
  },
}
SCSS
$custom: #371c6f;
$custom-light: #745b99;
$custom-dark: #000000;
JSON
{
  "hex": "#371c6f",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 259.518,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.13398,
    "h": 291.9
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#371C6F
secondary
#84A443
accent
#E345AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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