#371980#371980

#371980 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.158 H 287.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#371980
RGBrgb(55, 25, 128)
HSLhsl(257, 67%, 30%)
HSVhsv(257, 80%, 50%)
CMYKcmyk(57%, 80.5%, 0%, 49.8%)
CIE-LABlab(20.31, 40.57, -52.41)
CIE-LCHlch(20.31, 66.28, 307.74°)
OKLaboklab(33.13% 0.0478 -0.1508)
OKLCHoklch(33.13% 0.158 287.6)
XYZxyz(5.8183, 3.0657, 20.7030)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371980 #628019
analogous
#192E80 #371980 #6B1980
triadic
#371980 #803719 #198037
tetradic
#371980 #80192E #628019 #19806B
square
#371980 #80192E #628019 #19806B
split-complementary
#371980 #806B19 #2E8019
monochromatic
#0B051A #210F4D #371980 #4D23B3 #693BD9

Accessibility & contrast

On white

13.02
#371980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#371980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371980
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371980#FFFFFF#000000##FFFFFF
##3719801.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#17374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #371980;
/* rgb */ color: rgb(55, 25, 128);
/* oklch */ color: oklch(33.1% 0.158 287.6);
Tailwind
colors: {
  custom: {
    50: '#775aa6',
    500: '#371980',
    950: '#000000',
  },
}
SCSS
$custom: #371980;
$custom-light: #775aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#371980",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 257.476,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.33131,
    "c": 0.15824,
    "h": 287.6
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#371980
secondary
#92B441
accent
#EA3EB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #371980

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

Preview Lab → · Contrast checker → · Palette generator →

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