#371576#371576

#371576 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.150 H 291.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#371576
RGBrgb(55, 21, 118)
HSLhsl(261, 70%, 27%)
HSVhsv(261, 82%, 46%)
CMYKcmyk(53.4%, 82.2%, 0%, 53.7%)
CIE-LABlab(18.61, 39.56, -48.81)
CIE-LCHlch(18.61, 62.83, 309.02°)
OKLaboklab(31.64% 0.0541 -0.1403)
OKLCHoklch(31.64% 0.15 291.1)
XYZxyz(5.1128, 2.6564, 17.3794)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371576 #547615
analogous
#152476 #371576 #681576
triadic
#371576 #763715 #157637
tetradic
#371576 #761524 #547615 #157668
square
#371576 #761524 #547615 #157668
split-complementary
#371576 #766815 #247615
monochromatic
#0C051A #1F0C42 #371576 #4F1EAA #692CD9

Accessibility & contrast

On white

13.71
#371576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371576
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371576#FFFFFF#000000##FFFFFF
##3715761.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#213146
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371576;
/* rgb */ color: rgb(55, 21, 118);
/* oklch */ color: oklch(31.6% 0.150 291.1);
Tailwind
colors: {
  custom: {
    50: '#76579e',
    500: '#371576',
    950: '#000000',
  },
}
SCSS
$custom: #371576;
$custom-light: #76579e;
$custom-dark: #000000;
JSON
{
  "hex": "#371576",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 261.031,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31639,
    "c": 0.15034,
    "h": 291.1
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#371576
secondary
#84AC3B
accent
#ED3BAE
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371576

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

Preview Lab → · Contrast checker → · Palette generator →

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