#371371#371371

#371371 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.146 H 293.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#371371
RGBrgb(55, 19, 113)
HSLhsl(263, 71%, 26%)
HSVhsv(263, 83%, 44%)
CMYKcmyk(51.3%, 83.2%, 0%, 55.7%)
CIE-LABlab(17.78, 39.05, -46.95)
CIE-LCHlch(17.78, 61.07, 309.75°)
OKLaboklab(30.91% 0.0573 -0.1348)
OKLCHoklch(30.91% 0.146 293)
XYZxyz(4.7882, 2.4701, 15.8441)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371371 #4D7113
analogous
#131E71 #371371 #661371
triadic
#371371 #713713 #137137
tetradic
#371371 #71131E #4D7113 #137166
square
#371371 #71131E #4D7113 #137166
split-complementary
#371371 #716613 #1E7113
monochromatic
#0D041A #1D0A3D #371371 #501CA5 #6A25DA

Accessibility & contrast

On white

14.06
#371371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371371
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371371#FFFFFF#000000##FFFFFF
##3713711.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#242E42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371371;
/* rgb */ color: rgb(55, 19, 113);
/* oklch */ color: oklch(30.9% 0.146 293.0);
Tailwind
colors: {
  custom: {
    50: '#75569b',
    500: '#371371',
    950: '#000000',
  },
}
SCSS
$custom: #371371;
$custom-light: #75569b;
$custom-dark: #000000;
JSON
{
  "hex": "#371371",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 262.979,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.14648,
    "h": 293
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#371371
secondary
#7DA838
accent
#EE3AA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371371

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

Preview Lab → · Contrast checker → · Palette generator →

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