#371590#371590

#371590 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.180 H 284.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#371590
RGBrgb(55, 21, 144)
HSLhsl(257, 75%, 32%)
HSVhsv(257, 85%, 56%)
CMYKcmyk(61.8%, 85.4%, 0%, 43.5%)
CIE-LABlab(21.44, 46.97, -60.58)
CIE-LCHlch(21.44, 76.66, 307.79°)
OKLaboklab(34.43% 0.0447 -0.1746)
OKLCHoklch(34.43% 0.18 284.3)
XYZxyz(6.8762, 3.3617, 26.6667)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371590 #6E9015
analogous
#153190 #371590 #741590
triadic
#371590 #903715 #159037
tetradic
#371590 #901531 #6E9015 #159074
square
#371590 #901531 #6E9015 #159074
split-complementary
#371590 #907415 #319015
monochromatic
#0E0525 #230D5B #371590 #4B1DC5 #6B3DE3

Accessibility & contrast

On white

12.56
#371590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#371590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371590
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371590#FFFFFF#000000##FFFFFF
##3715901.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003C55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #371590;
/* rgb */ color: rgb(55, 21, 144);
/* oklch */ color: oklch(34.4% 0.180 284.3);
Tailwind
colors: {
  custom: {
    50: '#7a59b2',
    500: '#371590',
    950: '#000000',
  },
}
SCSS
$custom: #371590;
$custom-light: #7a59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#371590",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 256.585,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34432,
    "c": 0.18025,
    "h": 284.3
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#371590
secondary
#9EC23E
accent
#F137BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #371590

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

Preview Lab → · Contrast checker → · Palette generator →

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