#371C60#371C60

#371C60 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.115 H 297.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#371C60
RGBrgb(55, 28, 96)
HSLhsl(264, 55%, 24%)
HSVhsv(264, 71%, 38%)
CMYKcmyk(42.7%, 70.8%, 0%, 62.4%)
CIE-LABlab(17.86, 29.43, -35.68)
CIE-LCHlch(17.86, 46.25, 309.51°)
OKLaboklab(30.47% 0.0527 -0.1018)
OKLCHoklch(30.47% 0.115 297.3)
XYZxyz(4.1016, 2.4872, 11.3280)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C60 #45601C
analogous
#1C2360 #371C60 #591C60
triadic
#371C60 #60371C #1C6037
tetradic
#371C60 #601C23 #45601C #1C6059
square
#371C60 #601C23 #45601C #1C6059
split-complementary
#371C60 #60591C #23601C
monochromatic
#0E0718 #1C0E31 #371C60 #522A8F #6D38BF

Accessibility & contrast

On white

14.02
#371C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C60
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C60#FFFFFF#000000##FFFFFF
##371C601.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#2D2C3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371c60;
/* rgb */ color: rgb(55, 28, 96);
/* oklch */ color: oklch(30.5% 0.115 297.3);
Tailwind
colors: {
  custom: {
    50: '#725a8e',
    500: '#371c60',
    950: '#000000',
  },
}
SCSS
$custom: #371c60;
$custom-light: #725a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#371c60",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 263.824,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30474,
    "c": 0.1146,
    "h": 297.3
  },
  "luminance": 0.02487
}

Semantic roles & 50–950 ramp

primary
#371C60
secondary
#749542
accent
#DE4AA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #371C60

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

Preview Lab → · Contrast checker → · Palette generator →

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