#371471#371471

#371471 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.145 H 292.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#371471
RGBrgb(55, 20, 113)
HSLhsl(263, 70%, 26%)
HSVhsv(263, 82%, 44%)
CMYKcmyk(51.3%, 82.3%, 0%, 55.7%)
CIE-LABlab(17.94, 38.60, -46.69)
CIE-LCHlch(17.94, 60.58, 309.58°)
OKLaboklab(31.02% 0.0565 -0.134)
OKLCHoklch(31.02% 0.145 292.9)
XYZxyz(4.8055, 2.5046, 15.8498)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371471 #4E7114
analogous
#141F71 #371471 #651471
triadic
#371471 #713714 #147137
tetradic
#371471 #71141F #4E7114 #147165
square
#371471 #71141F #4E7114 #147165
split-complementary
#371471 #716514 #1F7114
monochromatic
#0D051A #1E0B3D #371471 #501DA5 #6A27D9

Accessibility & contrast

On white

13.99
#371471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371471
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371471#FFFFFF#000000##FFFFFF
##3714711.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371471;
/* rgb */ color: rgb(55, 20, 113);
/* oklch */ color: oklch(31.0% 0.145 292.9);
Tailwind
colors: {
  custom: {
    50: '#75569b',
    500: '#371471',
    950: '#000000',
  },
}
SCSS
$custom: #371471;
$custom-light: #75569b;
$custom-dark: #000000;
JSON
{
  "hex": "#371471",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 262.581,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31016,
    "c": 0.14549,
    "h": 292.9
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#371471
secondary
#7EA739
accent
#ED3BAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371471

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

Preview Lab → · Contrast checker → · Palette generator →

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