#371C6E#371C6E

#371C6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.133 H 292.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#371C6E
RGBrgb(55, 28, 110)
HSLhsl(260, 59%, 27%)
HSVhsv(260, 75%, 43%)
CMYKcmyk(50%, 74.5%, 0%, 56.9%)
CIE-LABlab(19.09, 33.62, -42.86)
CIE-LCHlch(19.09, 54.47, 308.11°)
OKLaboklab(31.74% 0.0501 -0.1229)
OKLCHoklch(31.74% 0.133 292.2)
XYZxyz(4.8045, 2.7684, 15.0300)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C6E #536E1C
analogous
#1C2A6E #371C6E #601C6E
triadic
#371C6E #6E371C #1C6E37
tetradic
#371C6E #6E1C2A #536E1C #1C6E60
square
#371C6E #6E1C2A #536E1C #1C6E60
split-complementary
#371C6E #6E601C #2A6E1C
monochromatic
#0C0618 #1F103D #371C6E #4F289F #6938CC

Accessibility & contrast

On white

13.52
#371C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C6E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C6E#FFFFFF#000000##FFFFFF
##371C6E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#263143
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371c6e;
/* rgb */ color: rgb(55, 28, 110);
/* oklch */ color: oklch(31.7% 0.133 292.2);
Tailwind
colors: {
  custom: {
    50: '#745b98',
    500: '#371c6e',
    950: '#000000',
  },
}
SCSS
$custom: #371c6e;
$custom-light: #745b98;
$custom-dark: #000000;
JSON
{
  "hex": "#371c6e",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 259.756,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.13271,
    "h": 292.2
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#371C6E
secondary
#83A343
accent
#E345AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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