#371C61#371C61

#371C61 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.116 H 296.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#371C61
RGBrgb(55, 28, 97)
HSLhsl(263, 55%, 25%)
HSVhsv(263, 71%, 38%)
CMYKcmyk(43.3%, 71.1%, 0%, 62%)
CIE-LABlab(17.94, 29.72, -36.21)
CIE-LCHlch(17.94, 46.85, 309.38°)
OKLaboklab(30.56% 0.0525 -0.1033)
OKLCHoklch(30.56% 0.116 296.9)
XYZxyz(4.1479, 2.5057, 11.5721)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C61 #46611C
analogous
#1C2461 #371C61 #5A1C61
triadic
#371C61 #61371C #1C6137
tetradic
#371C61 #611C24 #46611C #1C615A
square
#371C61 #611C24 #46611C #1C615A
split-complementary
#371C61 #615A1C #24611C
monochromatic
#0D0718 #1C0E32 #371C61 #522A90 #6D37C0

Accessibility & contrast

On white

13.99
#371C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371C61
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C61#FFFFFF#000000##FFFFFF
##371C611.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#2C2C3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371c61;
/* rgb */ color: rgb(55, 28, 97);
/* oklch */ color: oklch(30.6% 0.116 296.9);
Tailwind
colors: {
  custom: {
    50: '#725a8e',
    500: '#371c61',
    950: '#000000',
  },
}
SCSS
$custom: #371c61;
$custom-light: #725a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#371c61",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 263.478,
    "s": 55.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3056,
    "c": 0.11592,
    "h": 296.9
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#371C61
secondary
#769643
accent
#DF49A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371C61

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

Preview Lab → · Contrast checker → · Palette generator →

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