#371559#371559

#371559 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.116 H 302.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#371559
RGBrgb(55, 21, 89)
HSLhsl(270, 62%, 22%)
HSVhsv(270, 76%, 35%)
CMYKcmyk(38.2%, 76.4%, 0%, 65.1%)
CIE-LABlab(15.85, 31.35, -34.28)
CIE-LCHlch(15.85, 46.45, 312.45°)
OKLaboklab(28.85% 0.0621 -0.0976)
OKLCHoklch(28.85% 0.116 302.5)
XYZxyz(3.6465, 2.0698, 9.6567)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371559 #375915
analogous
#151559 #371559 #591559
triadic
#371559 #593715 #155937
tetradic
#371559 #591515 #375915 #155959
square
#371559 #591515 #375915 #155959
split-complementary
#371559 #595915 #155915
monochromatic
#0F0619 #180927 #371559 #56218B #742CBC

Accessibility & contrast

On white

14.85
#371559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#371559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371559
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371559#FFFFFF#000000##FFFFFF
##3715591.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#302535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #371559;
/* rgb */ color: rgb(55, 21, 89);
/* oklch */ color: oklch(28.8% 0.116 302.5);
Tailwind
colors: {
  custom: {
    50: '#725688',
    500: '#371559',
    950: '#000000',
  },
}
SCSS
$custom: #371559;
$custom-light: #725688;
$custom-dark: #000000;
JSON
{
  "hex": "#371559",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 270,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28849,
    "c": 0.11571,
    "h": 302.5
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#371559
secondary
#659139
accent
#E54394
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371559

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

Preview Lab → · Contrast checker → · Palette generator →

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