#371C75#371C75

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

Color values

HEX#371C75
RGBrgb(55, 28, 117)
HSLhsl(258, 61%, 28%)
HSVhsv(258, 76%, 46%)
CMYKcmyk(53%, 76.1%, 0%, 54.1%)
CIE-LABlab(19.75, 35.73, -46.31)
CIE-LCHlch(19.75, 58.49, 307.66°)
OKLaboklab(32.41% 0.0485 -0.133)
OKLCHoklch(32.41% 0.142 290)
XYZxyz(5.2008, 2.9269, 17.1171)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C75 #5A751C
analogous
#1C2D75 #371C75 #631C75
triadic
#371C75 #75371C #1C7537
tetradic
#371C75 #751C2D #5A751C #1C7563
square
#371C75 #751C2D #5A751C #1C7563
split-complementary
#371C75 #75631C #2D751C
monochromatic
#0C0619 #201044 #371C75 #4E28A6 #683BD0

Accessibility & contrast

On white

13.25
#371C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C75
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C75#FFFFFF#000000##FFFFFF
##371C751.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#213447
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #371c75;
/* rgb */ color: rgb(55, 28, 117);
/* oklch */ color: oklch(32.4% 0.142 290.0);
Tailwind
colors: {
  custom: {
    50: '#755b9e',
    500: '#371c75',
    950: '#000000',
  },
}
SCSS
$custom: #371c75;
$custom-light: #755b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#371c75",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 258.202,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32406,
    "c": 0.14155,
    "h": 290
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#371C75
secondary
#8AA944
accent
#E443B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371C75

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

Preview Lab → · Contrast checker → · Palette generator →

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