#371677#371677

#371677 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.151 H 290.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#371677
RGBrgb(55, 22, 119)
HSLhsl(260, 69%, 28%)
HSVhsv(260, 82%, 47%)
CMYKcmyk(53.8%, 81.5%, 0%, 53.3%)
CIE-LABlab(18.88, 39.38, -49.02)
CIE-LCHlch(18.88, 62.88, 308.77°)
OKLaboklab(31.85% 0.053 -0.1409)
OKLCHoklch(31.85% 0.151 290.6)
XYZxyz(5.1913, 2.7177, 17.7002)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371677 #567716
analogous
#162677 #371677 #671677
triadic
#371677 #773716 #167737
tetradic
#371677 #771626 #567716 #167767
square
#371677 #771626 #567716 #167767
split-complementary
#371677 #776716 #267716
monochromatic
#0C051A #1F0C43 #371677 #4F20AB #692FD9

Accessibility & contrast

On white

13.60
#371677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371677
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371677#FFFFFF#000000##FFFFFF
##3716771.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#203246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371677;
/* rgb */ color: rgb(55, 22, 119);
/* oklch */ color: oklch(31.9% 0.151 290.6);
Tailwind
colors: {
  custom: {
    50: '#76589f',
    500: '#371677',
    950: '#000000',
  },
}
SCSS
$custom: #371677;
$custom-light: #76589f;
$custom-dark: #000000;
JSON
{
  "hex": "#371677",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 260.412,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31854,
    "c": 0.15052,
    "h": 290.6
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#371677
secondary
#86AC3C
accent
#EC3CB0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #371677

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

Preview Lab → · Contrast checker → · Palette generator →

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