#371D93#371D93

#371D93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.177 H 282.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#371D93
RGBrgb(55, 29, 147)
HSLhsl(253, 67%, 35%)
HSVhsv(253, 80%, 58%)
CMYKcmyk(62.6%, 80.3%, 0%, 42.4%)
CIE-LABlab(22.99, 44.28, -59.88)
CIE-LCHlch(22.99, 74.48, 306.48°)
OKLaboklab(35.6% 0.0392 -0.1727)
OKLCHoklch(35.6% 0.177 282.8)
XYZxyz(7.2797, 3.7970, 27.9474)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D93 #79931D
analogous
#1D3E93 #371D93 #721D93
triadic
#371D93 #93371D #1D9337
tetradic
#371D93 #931D3E #79931D #1D9372
square
#371D93 #931D3E #79931D #1D9372
split-complementary
#371D93 #93721D #3E931D
monochromatic
#11092D #241360 #371D93 #4A27C6 #6E4EDC

Accessibility & contrast

On white

11.93
#371D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#371D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D93
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D93#FFFFFF#000000##FFFFFF
##371D931.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #371d93;
/* rgb */ color: rgb(55, 29, 147);
/* oklch */ color: oklch(35.6% 0.177 282.8);
Tailwind
colors: {
  custom: {
    50: '#7a5db4',
    500: '#371d93',
    950: '#000000',
  },
}
SCSS
$custom: #371d93;
$custom-light: #7a5db4;
$custom-dark: #000000;
JSON
{
  "hex": "#371d93",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 253.22,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.17707,
    "h": 282.8
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#371D93
secondary
#A6BF4D
accent
#EA3EC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371D93

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

Preview Lab → · Contrast checker → · Palette generator →

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