#371C73#371C73

#371C73 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.139 H 290.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#371C73
RGBrgb(55, 28, 115)
HSLhsl(259, 61%, 28%)
HSVhsv(259, 76%, 45%)
CMYKcmyk(52.2%, 75.7%, 0%, 54.9%)
CIE-LABlab(19.56, 35.13, -45.33)
CIE-LCHlch(19.56, 57.35, 307.77°)
OKLaboklab(32.21% 0.049 -0.1301)
OKLCHoklch(32.21% 0.139 290.6)
XYZxyz(5.0844, 2.8803, 16.5044)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C73 #58731C
analogous
#1C2C73 #371C73 #621C73
triadic
#371C73 #73371C #1C7337
tetradic
#371C73 #731C2C #58731C #1C7362
square
#371C73 #731C2C #58731C #1C7362
split-complementary
#371C73 #73621C #2C731C
monochromatic
#0C0619 #1F1042 #371C73 #4F28A4 #683ACF

Accessibility & contrast

On white

13.32
#371C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#371C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C73
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C73#FFFFFF#000000##FFFFFF
##371C731.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371c73;
/* rgb */ color: rgb(55, 28, 115);
/* oklch */ color: oklch(32.2% 0.139 290.6);
Tailwind
colors: {
  custom: {
    50: '#755b9c',
    500: '#371c73',
    950: '#000000',
  },
}
SCSS
$custom: #371c73;
$custom-light: #755b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#371c73",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 258.621,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.13904,
    "h": 290.6
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#371C73
secondary
#88A743
accent
#E444B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C73

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

Preview Lab → · Contrast checker → · Palette generator →

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