#371860#371860

#371860 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.120 H 298.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#371860
RGBrgb(55, 24, 96)
HSLhsl(266, 60%, 24%)
HSVhsv(266, 75%, 38%)
CMYKcmyk(42.7%, 75%, 0%, 62.4%)
CIE-LABlab(17.04, 31.71, -37.02)
CIE-LCHlch(17.04, 48.74, 310.58°)
OKLaboklab(29.88% 0.0573 -0.1057)
OKLCHoklch(29.88% 0.12 298.5)
XYZxyz(4.0130, 2.3100, 11.2985)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371860 #416018
analogous
#181D60 #371860 #5B1860
triadic
#371860 #603718 #186037
tetradic
#371860 #60181D #416018 #18605B
square
#371860 #60181D #416018 #18605B
split-complementary
#371860 #605B18 #1D6018
monochromatic
#0E0618 #1B0C2F #371860 #532491 #6F30C2

Accessibility & contrast

On white

14.36
#371860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371860
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371860#FFFFFF#000000##FFFFFF
##3718601.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#2D2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371860;
/* rgb */ color: rgb(55, 24, 96);
/* oklch */ color: oklch(29.9% 0.120 298.5);
Tailwind
colors: {
  custom: {
    50: '#72588e',
    500: '#371860',
    950: '#000000',
  },
}
SCSS
$custom: #371860;
$custom-light: #72588e;
$custom-dark: #000000;
JSON
{
  "hex": "#371860",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 265.833,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29884,
    "c": 0.12026,
    "h": 298.5
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#371860
secondary
#70963D
accent
#E3459F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371860

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

Preview Lab → · Contrast checker → · Palette generator →

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