#371876#371876

#371876 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.147 H 290.6°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#371876
RGBrgb(55, 24, 118)
HSLhsl(260, 66%, 28%)
HSVhsv(260, 80%, 46%)
CMYKcmyk(53.4%, 79.7%, 0%, 53.7%)
CIE-LABlab(19.11, 38.12, -47.99)
CIE-LCHlch(19.11, 61.29, 308.46°)
OKLaboklab(31.99% 0.0517 -0.1379)
OKLCHoklch(31.99% 0.147 290.6)
XYZxyz(5.1713, 2.7733, 17.3988)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371876 #577618
analogous
#182876 #371876 #661876
triadic
#371876 #763718 #187637
tetradic
#371876 #761828 #577618 #187666
square
#371876 #761828 #577618 #187666
split-complementary
#371876 #766618 #287618
monochromatic
#0C0519 #1F0E43 #371876 #4F22A9 #6933D5

Accessibility & contrast

On white

13.51
#371876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371876
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371876#FFFFFF#000000##FFFFFF
##3718761.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#213246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371876;
/* rgb */ color: rgb(55, 24, 118);
/* oklch */ color: oklch(32.0% 0.147 290.6);
Tailwind
colors: {
  custom: {
    50: '#75599e',
    500: '#371876',
    950: '#000000',
  },
}
SCSS
$custom: #371876;
$custom-light: #75599e;
$custom-dark: #000000;
JSON
{
  "hex": "#371876",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 259.787,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.14727,
    "h": 290.6
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#371876
secondary
#87AB3F
accent
#E93FB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371876

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

Preview Lab → · Contrast checker → · Palette generator →

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