#371A69#371A69

#371A69 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.129 H 294.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#371A69
RGBrgb(55, 26, 105)
HSLhsl(262, 60%, 26%)
HSVhsv(262, 75%, 41%)
CMYKcmyk(47.6%, 75.2%, 0%, 58.8%)
CIE-LABlab(18.24, 33.23, -41.00)
CIE-LCHlch(18.24, 52.78, 309.03°)
OKLaboklab(30.99% 0.0533 -0.1174)
OKLCHoklch(30.99% 0.129 294.4)
XYZxyz(4.4941, 2.5708, 13.6213)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A69 #4C691A
analogous
#1A2569 #371A69 #5E1A69
triadic
#371A69 #69371A #1A6937
tetradic
#371A69 #691A25 #4C691A #1A695E
square
#371A69 #691A25 #4C691A #1A695E
split-complementary
#371A69 #695E1A #25691A
monochromatic
#0D0619 #1D0E38 #371A69 #51269A #6A32CB

Accessibility & contrast

On white

13.87
#371A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A69
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A69#FFFFFF#000000##FFFFFF
##371A691.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#292E3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371a69;
/* rgb */ color: rgb(55, 26, 105);
/* oklch */ color: oklch(31.0% 0.129 294.4);
Tailwind
colors: {
  custom: {
    50: '#735995',
    500: '#371a69',
    950: '#000000',
  },
}
SCSS
$custom: #371a69;
$custom-light: #735995;
$custom-dark: #000000;
JSON
{
  "hex": "#371a69",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 262.025,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.12892,
    "h": 294.4
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#371A69
secondary
#7C9E40
accent
#E344A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371A69

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

Preview Lab → · Contrast checker → · Palette generator →

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