#371E9F#371E9F

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

Color values

HEX#371E9F
RGBrgb(55, 30, 159)
HSLhsl(252, 68%, 37%)
HSVhsv(252, 81%, 62%)
CMYKcmyk(65.4%, 81.1%, 0%, 37.6%)
CIE-LABlab(24.46, 47.39, -64.82)
CIE-LCHlch(24.46, 80.30, 306.17°)
OKLaboklab(37.01% 0.0349 -0.1871)
OKLCHoklch(37.01% 0.19 280.6)
XYZxyz(8.2958, 4.2433, 33.1760)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E9F #869F1E
analogous
#1E469F #371E9F #781E9F
triadic
#371E9F #9F371E #1E9F37
tetradic
#371E9F #9F1E46 #869F1E #1E9F78
square
#371E9F #9F1E46 #869F1E #1E9F78
split-complementary
#371E9F #9F781E #469F1E
monochromatic
#130B38 #25146C #371E9F #4928D2 #7258DF

Accessibility & contrast

On white

11.36
#371E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371E9F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E9F#FFFFFF#000000##FFFFFF
##371E9F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371e9f;
/* rgb */ color: rgb(55, 30, 159);
/* oklch */ color: oklch(37.0% 0.190 280.6);
Tailwind
colors: {
  custom: {
    50: '#7d5fbd',
    500: '#371e9f',
    950: '#000000',
  },
}
SCSS
$custom: #371e9f;
$custom-light: #7d5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#371e9f",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 251.628,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3701,
    "c": 0.19032,
    "h": 280.6
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#371E9F
secondary
#AEC356
accent
#EB3DC9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #371E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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