#371580#371580

#371580 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.162 H 288.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#371580
RGBrgb(55, 21, 128)
HSLhsl(259, 72%, 29%)
HSVhsv(259, 84%, 50%)
CMYKcmyk(57%, 83.6%, 0%, 49.8%)
CIE-LABlab(19.67, 42.42, -53.46)
CIE-LCHlch(19.67, 68.25, 308.43°)
OKLaboklab(32.69% 0.0506 -0.1539)
OKLCHoklch(32.69% 0.162 288.2)
XYZxyz(5.7388, 2.9068, 20.6766)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371580 #5E8015
analogous
#152980 #371580 #6D1580
triadic
#371580 #803715 #158037
tetradic
#371580 #801529 #5E8015 #15806D
square
#371580 #801529 #5E8015 #15806D
split-complementary
#371580 #806D15 #298015
monochromatic
#0B041A #200C4B #371580 #4E1EB5 #6832DD

Accessibility & contrast

On white

13.28
#371580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#371580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371580
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371580#FFFFFF#000000##FFFFFF
##3715801.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#17354B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #371580;
/* rgb */ color: rgb(55, 21, 128);
/* oklch */ color: oklch(32.7% 0.162 288.2);
Tailwind
colors: {
  custom: {
    50: '#7758a6',
    500: '#371580',
    950: '#000000',
  },
}
SCSS
$custom: #371580;
$custom-light: #7758a6;
$custom-dark: #000000;
JSON
{
  "hex": "#371580",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 259.065,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.16197,
    "h": 288.2
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#371580
secondary
#8EB53C
accent
#EF39B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #371580

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

Preview Lab → · Contrast checker → · Palette generator →

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