#371E90#371E90

#371E90 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.173 H 283.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#371E90
RGBrgb(55, 30, 144)
HSLhsl(253, 66%, 34%)
HSVhsv(253, 79%, 56%)
CMYKcmyk(61.8%, 79.2%, 0%, 43.5%)
CIE-LABlab(22.84, 42.89, -58.27)
CIE-LCHlch(22.84, 72.35, 306.35°)
OKLaboklab(35.4% 0.0394 -0.168)
OKLCHoklch(35.4% 0.173 283.2)
XYZxyz(7.0723, 3.7539, 26.7320)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E90 #77901E
analogous
#1E3E90 #371E90 #701E90
triadic
#371E90 #90371E #1E9037
tetradic
#371E90 #901E3E #77901E #1E9070
square
#371E90 #901E3E #77901E #1E9070
split-complementary
#371E90 #90701E #3E901E
monochromatic
#10092B #24135D #371E90 #4A29C3 #6D4EDA

Accessibility & contrast

On white

11.99
#371E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#371E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E90
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E90#FFFFFF#000000##FFFFFF
##371E901.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #371e90;
/* rgb */ color: rgb(55, 30, 144);
/* oklch */ color: oklch(35.4% 0.173 283.2);
Tailwind
colors: {
  custom: {
    50: '#7a5eb2',
    500: '#371e90',
    950: '#000000',
  },
}
SCSS
$custom: #371e90;
$custom-light: #7a5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#371e90",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 253.158,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.17257,
    "h": 283.2
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#371E90
secondary
#A4BD4D
accent
#E83FC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371E90

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

Preview Lab → · Contrast checker → · Palette generator →

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