#371D6E#371D6E

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

Color values

HEX#371D6E
RGBrgb(55, 29, 110)
HSLhsl(259, 58%, 27%)
HSVhsv(259, 74%, 43%)
CMYKcmyk(50%, 73.6%, 0%, 56.9%)
CIE-LABlab(19.29, 33.05, -42.53)
CIE-LCHlch(19.29, 53.86, 307.85°)
OKLaboklab(31.88% 0.0491 -0.1219)
OKLCHoklch(31.88% 0.131 291.9)
XYZxyz(4.8286, 2.8166, 15.0381)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D6E #546E1D
analogous
#1D2C6E #371D6E #5F1D6E
triadic
#371D6E #6E371D #1D6E37
tetradic
#371D6E #6E1D2C #546E1D #1D6E5F
square
#371D6E #6E1D2C #546E1D #1D6E5F
split-complementary
#371D6E #6E5F1D #2C6E1D
monochromatic
#0C0618 #1F103E #371D6E #4F2A9E #693ACB

Accessibility & contrast

On white

13.43
#371D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371D6E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D6E#FFFFFF#000000##FFFFFF
##371D6E1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#263243
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371d6e;
/* rgb */ color: rgb(55, 29, 110);
/* oklch */ color: oklch(31.9% 0.131 291.9);
Tailwind
colors: {
  custom: {
    50: '#745b98',
    500: '#371d6e',
    950: '#000000',
  },
}
SCSS
$custom: #371d6e;
$custom-light: #745b98;
$custom-dark: #000000;
JSON
{
  "hex": "#371d6e",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 259.259,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31881,
    "c": 0.13142,
    "h": 291.9
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#371D6E
secondary
#84A244
accent
#E146B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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