#371BA0#371BA0

#371BA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.194 H 280.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#371BA0
RGBrgb(55, 27, 160)
HSLhsl(253, 71%, 37%)
HSVhsv(253, 83%, 63%)
CMYKcmyk(65.6%, 83.1%, 0%, 37.3%)
CIE-LABlab(24.11, 49.04, -66.02)
CIE-LCHlch(24.11, 82.24, 306.61°)
OKLaboklab(36.8% 0.0361 -0.1905)
OKLCHoklch(36.8% 0.194 280.7)
XYZxyz(8.3106, 4.1335, 33.6108)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371BA0 #84A01B
analogous
#1B41A0 #371BA0 #7A1BA0
triadic
#371BA0 #A0371B #1BA037
tetradic
#371BA0 #A01B41 #84A01B #1BA07A
square
#371BA0 #A01B41 #84A01B #1BA07A
split-complementary
#371BA0 #A07A1B #41A01B
monochromatic
#130937 #25126C #371BA0 #4924D4 #7153E2

Accessibility & contrast

On white

11.50
#371BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#371BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371BA0
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371BA0#FFFFFF#000000##FFFFFF
##371BA01.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371ba0;
/* rgb */ color: rgb(55, 27, 160);
/* oklch */ color: oklch(36.8% 0.194 280.7);
Tailwind
colors: {
  custom: {
    50: '#7d5dbd',
    500: '#371ba0',
    950: '#000000',
  },
}
SCSS
$custom: #371ba0;
$custom-light: #7d5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#371ba0",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 252.632,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.368,
    "c": 0.19391,
    "h": 280.7
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#371BA0
secondary
#ADC552
accent
#EE3AC8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #371BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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