#371E6A#371E6A

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

Color values

HEX#371E6A
RGBrgb(55, 30, 106)
HSLhsl(260, 56%, 27%)
HSVhsv(260, 72%, 42%)
CMYKcmyk(48.1%, 71.7%, 0%, 58.4%)
CIE-LABlab(19.15, 31.26, -40.17)
CIE-LCHlch(19.15, 50.90, 307.89°)
OKLaboklab(31.66% 0.0488 -0.115)
OKLCHoklch(31.66% 0.125 293)
XYZxyz(4.6406, 2.7812, 13.9252)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E6A #516A1E
analogous
#1E2B6A #371E6A #5D1E6A
triadic
#371E6A #6A371E #1E6A37
tetradic
#371E6A #6A1E2B #516A1E #1E6A5D
square
#371E6A #6A1E2B #516A1E #1E6A5D
split-complementary
#371E6A #6A5D1E #2B6A1E
monochromatic
#0C0718 #1E113A #371E6A #502C9A #693BC7

Accessibility & contrast

On white

13.49
#371E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371E6A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E6A#FFFFFF#000000##FFFFFF
##371E6A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#283141
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371e6a;
/* rgb */ color: rgb(55, 30, 106);
/* oklch */ color: oklch(31.7% 0.125 293.0);
Tailwind
colors: {
  custom: {
    50: '#735c95',
    500: '#371e6a',
    950: '#000000',
  },
}
SCSS
$custom: #371e6a;
$custom-light: #735c95;
$custom-dark: #000000;
JSON
{
  "hex": "#371e6a",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 259.737,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31664,
    "c": 0.1249,
    "h": 293
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#371E6A
secondary
#819E45
accent
#DF49AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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