#371A73#371A73

#371A73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.141 H 291.1°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#371A73
RGBrgb(55, 26, 115)
HSLhsl(260, 63%, 28%)
HSVhsv(260, 77%, 45%)
CMYKcmyk(52.2%, 77.4%, 0%, 54.9%)
CIE-LABlab(19.18, 36.20, -45.96)
CIE-LCHlch(19.18, 58.50, 308.23°)
OKLaboklab(31.94% 0.0508 -0.132)
OKLCHoklch(31.94% 0.141 291.1)
XYZxyz(5.0386, 2.7886, 16.4891)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A73 #56731A
analogous
#1A2973 #371A73 #641A73
triadic
#371A73 #73371A #1A7337
tetradic
#371A73 #731A29 #56731A #1A7364
square
#371A73 #731A29 #56731A #1A7364
split-complementary
#371A73 #73641A #29731A
monochromatic
#0C0619 #1F0F41 #371A73 #4F25A5 #6936D2

Accessibility & contrast

On white

13.48
#371A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#371A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A73
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A73#FFFFFF#000000##FFFFFF
##371A731.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#233245
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #371a73;
/* rgb */ color: rgb(55, 26, 115);
/* oklch */ color: oklch(31.9% 0.141 291.1);
Tailwind
colors: {
  custom: {
    50: '#755a9c',
    500: '#371a73',
    950: '#000000',
  },
}
SCSS
$custom: #371a73;
$custom-light: #755a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#371a73",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 259.551,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.1414,
    "h": 291.1
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#371A73
secondary
#86A841
accent
#E642B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371A73

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

Preview Lab → · Contrast checker → · Palette generator →

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