#371D73#371D73

#371D73 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.138 H 290.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#371D73
RGBrgb(55, 29, 115)
HSLhsl(258, 60%, 28%)
HSVhsv(258, 75%, 45%)
CMYKcmyk(52.2%, 74.8%, 0%, 54.9%)
CIE-LABlab(19.76, 34.57, -45.01)
CIE-LCHlch(19.76, 56.75, 307.53°)
OKLaboklab(32.35% 0.048 -0.1292)
OKLCHoklch(32.35% 0.138 290.4)
XYZxyz(5.1085, 2.9286, 16.5124)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371D73 #59731D
analogous
#1D2E73 #371D73 #621D73
triadic
#371D73 #73371D #1D7337
tetradic
#371D73 #731D2E #59731D #1D7362
square
#371D73 #731D2E #59731D #1D7362
split-complementary
#371D73 #73621D #2E731D
monochromatic
#0C0618 #201142 #371D73 #4E29A4 #683CCE

Accessibility & contrast

On white

13.24
#371D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#371D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371D73
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371D73#FFFFFF#000000##FFFFFF
##371D731.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#223446
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #371d73;
/* rgb */ color: rgb(55, 29, 115);
/* oklch */ color: oklch(32.4% 0.138 290.4);
Tailwind
colors: {
  custom: {
    50: '#755b9c',
    500: '#371d73',
    950: '#000000',
  },
}
SCSS
$custom: #371d73;
$custom-light: #755b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#371d73",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 258.14,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32352,
    "c": 0.13781,
    "h": 290.4
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#371D73
secondary
#89A745
accent
#E345B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371D73

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

Preview Lab → · Contrast checker → · Palette generator →

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