#371C69#371C69

#371C69 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.126 H 293.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#371C69
RGBrgb(55, 28, 105)
HSLhsl(261, 58%, 26%)
HSVhsv(261, 73%, 41%)
CMYKcmyk(47.6%, 73.3%, 0%, 58.8%)
CIE-LABlab(18.64, 32.11, -40.34)
CIE-LCHlch(18.64, 51.56, 308.52°)
OKLaboklab(31.27% 0.0512 -0.1155)
OKLCHoklch(31.27% 0.126 293.9)
XYZxyz(4.5399, 2.6625, 13.6366)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C69 #4E691C
analogous
#1C2769 #371C69 #5D1C69
triadic
#371C69 #69371C #1C6937
tetradic
#371C69 #691C27 #4E691C #1C695D
square
#371C69 #691C27 #4E691C #1C695D
split-complementary
#371C69 #695D1C #27691C
monochromatic
#0D0618 #1E0F39 #371C69 #502999 #6A36C9

Accessibility & contrast

On white

13.70
#371C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C69
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C69#FFFFFF#000000##FFFFFF
##371C691.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#292F40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371c69;
/* rgb */ color: rgb(55, 28, 105);
/* oklch */ color: oklch(31.3% 0.126 293.9);
Tailwind
colors: {
  custom: {
    50: '#735a95',
    500: '#371c69',
    950: '#000000',
  },
}
SCSS
$custom: #371c69;
$custom-light: #735a95;
$custom-dark: #000000;
JSON
{
  "hex": "#371c69",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 261.039,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31274,
    "c": 0.1263,
    "h": 293.9
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#371C69
secondary
#7E9E43
accent
#E147AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371C69

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

Preview Lab → · Contrast checker → · Palette generator →

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