#371A90#371A90

#371A90 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.176 H 283.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#371A90
RGBrgb(55, 26, 144)
HSLhsl(255, 69%, 33%)
HSVhsv(255, 82%, 56%)
CMYKcmyk(61.8%, 81.9%, 0%, 43.5%)
CIE-LABlab(22.18, 44.81, -59.37)
CIE-LCHlch(22.18, 74.38, 307.05°)
OKLaboklab(34.94% 0.0419 -0.1711)
OKLCHoklch(34.94% 0.176 283.8)
XYZxyz(6.9774, 3.5642, 26.7004)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A90 #73901A
analogous
#1A3890 #371A90 #721A90
triadic
#371A90 #90371A #1A9037
tetradic
#371A90 #901A38 #73901A #1A9072
square
#371A90 #901A38 #73901A #1A9072
split-complementary
#371A90 #90721A #38901A
monochromatic
#0F0728 #23115C #371A90 #4B23C4 #6C47DE

Accessibility & contrast

On white

12.26
#371A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#371A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A90
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A90#FFFFFF#000000##FFFFFF
##371A901.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #371a90;
/* rgb */ color: rgb(55, 26, 144);
/* oklch */ color: oklch(34.9% 0.176 283.8);
Tailwind
colors: {
  custom: {
    50: '#7a5cb2',
    500: '#371a90',
    950: '#000000',
  },
}
SCSS
$custom: #371a90;
$custom-light: #7a5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#371a90",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 254.746,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3494,
    "c": 0.17621,
    "h": 283.8
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#371A90
secondary
#A2BF47
accent
#EC3CC1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371A90

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

Preview Lab → · Contrast checker → · Palette generator →

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