#371880#371880

#371880 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.159 H 287.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#371880
RGBrgb(55, 24, 128)
HSLhsl(258, 68%, 30%)
HSVhsv(258, 81%, 50%)
CMYKcmyk(57%, 81.3%, 0%, 49.8%)
CIE-LABlab(20.14, 41.05, -52.69)
CIE-LCHlch(20.14, 66.79, 307.92°)
OKLaboklab(33.02% 0.0485 -0.1516)
OKLCHoklch(33.02% 0.159 287.8)
XYZxyz(5.7973, 3.0237, 20.6960)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371880 #618018
analogous
#182D80 #371880 #6B1880
triadic
#371880 #803718 #188037
tetradic
#371880 #80182D #618018 #18806B
square
#371880 #80182D #618018 #18806B
split-complementary
#371880 #806B18 #2D8018
monochromatic
#0B051A #210E4C #371880 #4D22B4 #6939DA

Accessibility & contrast

On white

13.09
#371880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#371880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371880
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371880#FFFFFF#000000##FFFFFF
##3718801.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371880;
/* rgb */ color: rgb(55, 24, 128);
/* oklch */ color: oklch(33.0% 0.159 287.8);
Tailwind
colors: {
  custom: {
    50: '#7759a6',
    500: '#371880',
    950: '#000000',
  },
}
SCSS
$custom: #371880;
$custom-light: #7759a6;
$custom-dark: #000000;
JSON
{
  "hex": "#371880",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 257.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.15921,
    "h": 287.8
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#371880
secondary
#91B440
accent
#EB3DB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #371880

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

Preview Lab → · Contrast checker → · Palette generator →

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