#371E6D#371E6D

#371E6D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.129 H 292.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#371E6D
RGBrgb(55, 30, 109)
HSLhsl(259, 57%, 27%)
HSVhsv(259, 72%, 43%)
CMYKcmyk(49.5%, 72.5%, 0%, 57.3%)
CIE-LABlab(19.41, 32.17, -41.69)
CIE-LCHlch(19.41, 52.66, 307.66°)
OKLaboklab(31.94% 0.0482 -0.1194)
OKLCHoklch(31.94% 0.129 292)
XYZxyz(4.7994, 2.8447, 14.7612)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E6D #546D1E
analogous
#1E2D6D #371E6D #5F1E6D
triadic
#371E6D #6D371E #1E6D37
tetradic
#371E6D #6D1E2D #546D1E #1E6D5F
square
#371E6D #6D1E2D #546D1E #1E6D5F
split-complementary
#371E6D #6D5F1E #2D6D1E
monochromatic
#0C0718 #1F113D #371E6D #4F2B9D #693CC9

Accessibility & contrast

On white

13.38
#371E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#371E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E6D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E6D#FFFFFF#000000##FFFFFF
##371E6D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#263243
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371e6d;
/* rgb */ color: rgb(55, 30, 109);
/* oklch */ color: oklch(31.9% 0.129 292.0);
Tailwind
colors: {
  custom: {
    50: '#745c98',
    500: '#371e6d',
    950: '#000000',
  },
}
SCSS
$custom: #371e6d;
$custom-light: #745c98;
$custom-dark: #000000;
JSON
{
  "hex": "#371e6d",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 258.987,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31937,
    "c": 0.12882,
    "h": 292
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#371E6D
secondary
#84A145
accent
#E048B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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