#371081#371081

#371081 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.167 H 288.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#371081
RGBrgb(55, 16, 129)
HSLhsl(261, 78%, 28%)
HSVhsv(261, 88%, 51%)
CMYKcmyk(57.4%, 87.6%, 0%, 49.4%)
CIE-LABlab(19.09, 44.72, -55.05)
CIE-LCHlch(19.09, 70.93, 309.09°)
OKLaboklab(32.32% 0.0532 -0.1584)
OKLCHoklch(32.32% 0.167 288.6)
XYZxyz(5.7221, 2.7675, 20.9973)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371081 #5A8110
analogous
#102181 #371081 #6F1081
triadic
#371081 #813710 #108137
tetradic
#371081 #811021 #5A8110 #10816F
square
#371081 #811021 #5A8110 #10816F
split-complementary
#371081 #816F10 #218110
monochromatic
#0C031B #20094B #371081 #4E17B7 #6827E4

Accessibility & contrast

On white

13.52
#371081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371081
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371081#FFFFFF#000000##FFFFFF
##3710811.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#17344B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371081;
/* rgb */ color: rgb(55, 16, 129);
/* oklch */ color: oklch(32.3% 0.167 288.6);
Tailwind
colors: {
  custom: {
    50: '#7856a7',
    500: '#371081',
    950: '#000000',
  },
}
SCSS
$custom: #371081;
$custom-light: #7856a7;
$custom-dark: #000000;
JSON
{
  "hex": "#371081",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 260.708,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32322,
    "c": 0.16713,
    "h": 288.6
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#371081
secondary
#8AB736
accent
#F433B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #371081

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

Preview Lab → · Contrast checker → · Palette generator →

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