#371C65#371C65

#371C65 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.121 H 295.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#371C65
RGBrgb(55, 28, 101)
HSLhsl(262, 57%, 25%)
HSVhsv(262, 72%, 40%)
CMYKcmyk(45.5%, 72.3%, 0%, 60.4%)
CIE-LABlab(18.29, 30.91, -38.29)
CIE-LCHlch(18.29, 49.21, 308.91°)
OKLaboklab(30.91% 0.0519 -0.1095)
OKLCHoklch(30.91% 0.121 295.4)
XYZxyz(4.3391, 2.5822, 12.5792)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371C65 #4A651C
analogous
#1C2565 #371C65 #5B1C65
triadic
#371C65 #65371C #1C6537
tetradic
#371C65 #651C25 #4A651C #1C655B
square
#371C65 #651C25 #4A651C #1C655B
split-complementary
#371C65 #655B1C #25651C
monochromatic
#0D0718 #1D0F35 #371C65 #512995 #6B37C5

Accessibility & contrast

On white

13.85
#371C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371C65
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371C65#FFFFFF#000000##FFFFFF
##371C651.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#2B2E3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371c65;
/* rgb */ color: rgb(55, 28, 101);
/* oklch */ color: oklch(30.9% 0.121 295.4);
Tailwind
colors: {
  custom: {
    50: '#725a92',
    500: '#371c65',
    950: '#000000',
  },
}
SCSS
$custom: #371c65;
$custom-light: #725a92;
$custom-dark: #000000;
JSON
{
  "hex": "#371c65",
  "rgb": {
    "r": 55,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 262.192,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.12113,
    "h": 295.4
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#371C65
secondary
#7A9A43
accent
#E048A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371C65

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

Preview Lab → · Contrast checker → · Palette generator →

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