#371473#371473

#371473 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.148 H 292.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#371473
RGBrgb(55, 20, 115)
HSLhsl(262, 70%, 26%)
HSVhsv(262, 83%, 45%)
CMYKcmyk(52.2%, 82.6%, 0%, 54.9%)
CIE-LABlab(18.14, 39.16, -47.65)
CIE-LCHlch(18.14, 61.68, 309.42°)
OKLaboklab(31.22% 0.0559 -0.1369)
OKLCHoklch(31.22% 0.148 292.2)
XYZxyz(4.9193, 2.5502, 16.4494)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371473 #507314
analogous
#142173 #371473 #671473
triadic
#371473 #733714 #147337
tetradic
#371473 #731421 #507314 #147367
square
#371473 #731421 #507314 #147367
split-complementary
#371473 #736714 #217314
monochromatic
#0C051A #1E0B3F #371473 #501DA7 #6928DA

Accessibility & contrast

On white

13.91
#371473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371473
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371473#FFFFFF#000000##FFFFFF
##3714731.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#232F44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371473;
/* rgb */ color: rgb(55, 20, 115);
/* oklch */ color: oklch(31.2% 0.148 292.2);
Tailwind
colors: {
  custom: {
    50: '#75579c',
    500: '#371473',
    950: '#000000',
  },
}
SCSS
$custom: #371473;
$custom-light: #75579c;
$custom-dark: #000000;
JSON
{
  "hex": "#371473",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 262.105,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.14782,
    "h": 292.2
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#371473
secondary
#80A93A
accent
#ED3BAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371473

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

Preview Lab → · Contrast checker → · Palette generator →

#371473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva