#371F6D#371F6D

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

Color values

HEX#371F6D
RGBrgb(55, 31, 109)
HSLhsl(258, 56%, 27%)
HSVhsv(258, 72%, 43%)
CMYKcmyk(49.5%, 71.6%, 0%, 57.3%)
CIE-LABlab(19.62, 31.59, -41.34)
CIE-LCHlch(19.62, 52.03, 307.38°)
OKLaboklab(32.09% 0.0472 -0.1184)
OKLCHoklch(32.09% 0.127 291.7)
XYZxyz(4.8251, 2.8962, 14.7698)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371F6D #556D1F
analogous
#1F2E6D #371F6D #5E1F6D
triadic
#371F6D #6D371F #1F6D37
tetradic
#371F6D #6D1F2E #556D1F #1F6D5E
square
#371F6D #6D1F2E #556D1F #1F6D5E
split-complementary
#371F6D #6D5E1F #2E6D1F
monochromatic
#0C0718 #1F113D #371F6D #4F2D9D #693EC8

Accessibility & contrast

On white

13.30
#371F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371F6D
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371F6D#FFFFFF#000000##FFFFFF
##371F6D1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371f6d;
/* rgb */ color: rgb(55, 31, 109);
/* oklch */ color: oklch(32.1% 0.127 291.7);
Tailwind
colors: {
  custom: {
    50: '#735c98',
    500: '#371f6d',
    950: '#000000',
  },
}
SCSS
$custom: #371f6d;
$custom-light: #735c98;
$custom-dark: #000000;
JSON
{
  "hex": "#371f6d",
  "rgb": {
    "r": 55,
    "g": 31,
    "b": 109
  },
  "hsl": {
    "h": 258.462,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32089,
    "c": 0.12747,
    "h": 291.7
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#371F6D
secondary
#85A147
accent
#DF49B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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