#371E6F#371E6F

#371E6F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.131 H 291.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#371E6F
RGBrgb(55, 30, 111)
HSLhsl(259, 57%, 28%)
HSVhsv(259, 73%, 44%)
CMYKcmyk(50.5%, 73%, 0%, 56.5%)
CIE-LABlab(19.59, 32.79, -42.69)
CIE-LCHlch(19.59, 53.83, 307.52°)
OKLaboklab(32.12% 0.0478 -0.1224)
OKLCHoklch(32.12% 0.131 291.4)
XYZxyz(4.9083, 2.8883, 15.3347)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E6F #566F1E
analogous
#1E2D6F #371E6F #601E6F
triadic
#371E6F #6F371E #1E6F37
tetradic
#371E6F #6F1E2D #566F1E #1E6F60
square
#371E6F #6F1E2D #566F1E #1E6F60
split-complementary
#371E6F #6F601E #2D6F1E
monochromatic
#0C0718 #1F113F #371E6F #4F2B9F #693DCB

Accessibility & contrast

On white

13.31
#371E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#371E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E6F
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E6F#FFFFFF#000000##FFFFFF
##371E6F1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#253344
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371e6f;
/* rgb */ color: rgb(55, 30, 111);
/* oklch */ color: oklch(32.1% 0.131 291.4);
Tailwind
colors: {
  custom: {
    50: '#745c99',
    500: '#371e6f',
    950: '#000000',
  },
}
SCSS
$custom: #371e6f;
$custom-light: #745c99;
$custom-dark: #000000;
JSON
{
  "hex": "#371e6f",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 258.519,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32121,
    "c": 0.13141,
    "h": 291.4
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#371E6F
secondary
#86A346
accent
#E147B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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