#371AA0#371AA0

#371AA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.195 H 280.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#371AA0
RGBrgb(55, 26, 160)
HSLhsl(253, 72%, 36%)
HSVhsv(253, 84%, 63%)
CMYKcmyk(65.6%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.96, 49.47, -66.26)
CIE-LCHlch(23.96, 82.69, 306.75°)
OKLaboklab(36.7% 0.0365 -0.1912)
OKLCHoklch(36.7% 0.195 280.8)
XYZxyz(8.2881, 4.0884, 33.6033)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371AA0 #83A01A
analogous
#1A40A0 #371AA0 #7A1AA0
triadic
#371AA0 #A0371A #1AA037
tetradic
#371AA0 #A01A40 #83A01A #1AA07A
square
#371AA0 #A01A40 #83A01A #1AA07A
split-complementary
#371AA0 #A07A1A #40A01A
monochromatic
#130937 #25116B #371AA0 #4923D5 #7152E3

Accessibility & contrast

On white

11.55
#371AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#371AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371AA0
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371AA0#FFFFFF#000000##FFFFFF
##371AA01.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #371aa0;
/* rgb */ color: rgb(55, 26, 160);
/* oklch */ color: oklch(36.7% 0.195 280.8);
Tailwind
colors: {
  custom: {
    50: '#7d5dbd',
    500: '#371aa0',
    950: '#000000',
  },
}
SCSS
$custom: #371aa0;
$custom-light: #7d5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#371aa0",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 252.985,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.19468,
    "h": 280.8
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#371AA0
secondary
#ACC550
accent
#EF39C7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #371AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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