#371680#371680

#371680 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.161 H 288.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#371680
RGBrgb(55, 22, 128)
HSLhsl(259, 71%, 29%)
HSVhsv(259, 83%, 50%)
CMYKcmyk(57%, 82.8%, 0%, 49.8%)
CIE-LABlab(19.82, 41.97, -53.21)
CIE-LCHlch(19.82, 67.77, 308.27°)
OKLaboklab(32.79% 0.0499 -0.1531)
OKLCHoklch(32.79% 0.161 288.1)
XYZxyz(5.7576, 2.9443, 20.6828)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371680 #5F8016
analogous
#162A80 #371680 #6C1680
triadic
#371680 #803716 #168037
tetradic
#371680 #80162A #5F8016 #16806C
square
#371680 #80162A #5F8016 #16806C
split-complementary
#371680 #806C16 #2A8016
monochromatic
#0B041A #210D4C #371680 #4D1FB4 #6934DC

Accessibility & contrast

On white

13.22
#371680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#371680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371680
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371680#FFFFFF#000000##FFFFFF
##3716801.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371680;
/* rgb */ color: rgb(55, 22, 128);
/* oklch */ color: oklch(32.8% 0.161 288.1);
Tailwind
colors: {
  custom: {
    50: '#7758a6',
    500: '#371680',
    950: '#000000',
  },
}
SCSS
$custom: #371680;
$custom-light: #7758a6;
$custom-dark: #000000;
JSON
{
  "hex": "#371680",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 258.679,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.16107,
    "h": 288.1
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#371680
secondary
#8FB53D
accent
#ED3AB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #371680

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

Preview Lab → · Contrast checker → · Palette generator →

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