#371C67#371C67

#371C67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.124 H 294.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#371C67
RGBrgb(55, 28, 103)
HSLhsl(262, 57%, 26%)
HSVhsv(262, 73%, 40%)
CMYKcmyk(46.6%, 72.8%, 0%, 59.6%)
CIE-LABlab(18.46, 31.51, -39.32)
CIE-LCHlch(18.46, 50.39, 308.71°)
OKLaboklab(31.09% 0.0515 -0.1125)
OKLCHoklch(31.09% 0.124 294.6)
XYZxyz(4.4383, 2.6219, 13.1016)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C67 #4C671C
analogous
#1C2667 #371C67 #5C1C67
triadic
#371C67 #67371C #1C6737
tetradic
#371C67 #671C26 #4C671C #1C675C
square
#371C67 #671C26 #4C671C #1C675C
split-complementary
#371C67 #675C1C #26671C
monochromatic
#0D0718 #1D0F37 #371C67 #512997 #6A36C7

Accessibility & contrast

On white

13.78
#371C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C67
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C67#FFFFFF#000000##FFFFFF
##371C671.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2A2E3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371c67;
/* rgb */ color: rgb(55, 28, 103);
/* oklch */ color: oklch(31.1% 0.124 294.6);
Tailwind
colors: {
  custom: {
    50: '#735a93',
    500: '#371c67',
    950: '#000000',
  },
}
SCSS
$custom: #371c67;
$custom-light: #735a93;
$custom-dark: #000000;
JSON
{
  "hex": "#371c67",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 261.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.12372,
    "h": 294.6
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#371C67
secondary
#7C9C43
accent
#E147A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371C67

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

Preview Lab → · Contrast checker → · Palette generator →

#371C67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva