#371CA0#371CA0

#371CA0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.193 H 280.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#371CA0
RGBrgb(55, 28, 160)
HSLhsl(252, 70%, 37%)
HSVhsv(252, 83%, 63%)
CMYKcmyk(65.6%, 82.5%, 0%, 37.3%)
CIE-LABlab(24.26, 48.60, -65.77)
CIE-LCHlch(24.26, 81.78, 306.47°)
OKLaboklab(36.9% 0.0356 -0.1898)
OKLCHoklch(36.9% 0.193 280.6)
XYZxyz(8.3340, 4.1801, 33.6186)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371CA0 #85A01C
analogous
#1C43A0 #371CA0 #791CA0
triadic
#371CA0 #A0371C #1CA037
tetradic
#371CA0 #A01C43 #85A01C #1CA079
square
#371CA0 #A01C43 #85A01C #1CA079
split-complementary
#371CA0 #A0791C #43A01C
monochromatic
#130A38 #25136C #371CA0 #4925D4 #7255E1

Accessibility & contrast

On white

11.44
#371CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#371CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371CA0
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371CA0#FFFFFF#000000##FFFFFF
##371CA01.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #371ca0;
/* rgb */ color: rgb(55, 28, 160);
/* oklch */ color: oklch(36.9% 0.193 280.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ebd',
    500: '#371ca0',
    950: '#000000',
  },
}
SCSS
$custom: #371ca0;
$custom-light: #7d5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#371ca0",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 252.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.19313,
    "h": 280.6
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#371CA0
secondary
#ADC453
accent
#ED3BC9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #371CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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