#371561#371561

#371561 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.125 H 298.8°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#371561
RGBrgb(55, 21, 97)
HSLhsl(267, 64%, 23%)
HSVhsv(267, 78%, 38%)
CMYKcmyk(43.3%, 78.4%, 0%, 62%)
CIE-LABlab(16.56, 33.58, -38.46)
CIE-LCHlch(16.56, 51.06, 311.12°)
OKLaboklab(29.58% 0.0604 -0.1099)
OKLCHoklch(29.58% 0.125 298.8)
XYZxyz(4.0008, 2.2116, 11.5230)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371561 #3F6115
analogous
#151961 #371561 #5D1561
triadic
#371561 #613715 #156137
tetradic
#371561 #611519 #3F6115 #15615D
square
#371561 #611519 #3F6115 #15615D
split-complementary
#371561 #615D15 #196115
monochromatic
#0E0519 #1A0A2F #371561 #542093 #702BC6

Accessibility & contrast

On white

14.56
#371561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371561
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371561#FFFFFF#000000##FFFFFF
##3715611.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#2D283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371561;
/* rgb */ color: rgb(55, 21, 97);
/* oklch */ color: oklch(29.6% 0.125 298.8);
Tailwind
colors: {
  custom: {
    50: '#73568f',
    500: '#371561',
    950: '#000000',
  },
}
SCSS
$custom: #371561;
$custom-light: #73568f;
$custom-dark: #000000;
JSON
{
  "hex": "#371561",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 266.842,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29575,
    "c": 0.1254,
    "h": 298.8
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#371561
secondary
#6E983A
accent
#E7409D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371561

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

Preview Lab → · Contrast checker → · Palette generator →

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