#371DA0#371DA0

#371DA0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.192 H 280.5°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#371DA0
RGBrgb(55, 29, 160)
HSLhsl(252, 69%, 37%)
HSVhsv(252, 82%, 63%)
CMYKcmyk(65.6%, 81.9%, 0%, 37.3%)
CIE-LABlab(24.41, 48.15, -65.51)
CIE-LCHlch(24.41, 81.30, 306.32°)
OKLaboklab(37.01% 0.0351 -0.1891)
OKLCHoklch(37.01% 0.192 280.5)
XYZxyz(8.3581, 4.2284, 33.6266)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371DA0 #86A01D
analogous
#1D45A0 #371DA0 #781DA0
triadic
#371DA0 #A0371D #1DA037
tetradic
#371DA0 #A01D45 #86A01D #1DA078
square
#371DA0 #A01D45 #86A01D #1DA078
split-complementary
#371DA0 #A0781D #45A01D
monochromatic
#130A38 #25146C #371DA0 #4926D4 #7257E1

Accessibility & contrast

On white

11.38
#371DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#371DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371DA0
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371DA0#FFFFFF#000000##FFFFFF
##371DA01.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.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: #371da0;
/* rgb */ color: rgb(55, 29, 160);
/* oklch */ color: oklch(37.0% 0.192 280.5);
Tailwind
colors: {
  custom: {
    50: '#7d5ebd',
    500: '#371da0',
    950: '#000000',
  },
}
SCSS
$custom: #371da0;
$custom-light: #7d5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#371da0",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 251.908,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3701,
    "c": 0.19232,
    "h": 280.5
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#371DA0
secondary
#AEC455
accent
#EC3CC9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #371DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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