#371A6F#371A6F

#371A6F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.136 H 292.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#371A6F
RGBrgb(55, 26, 111)
HSLhsl(260, 62%, 27%)
HSVhsv(260, 77%, 44%)
CMYKcmyk(50.5%, 76.6%, 0%, 56.5%)
CIE-LABlab(18.79, 35.01, -44.00)
CIE-LCHlch(18.79, 56.23, 308.52°)
OKLaboklab(31.56% 0.0519 -0.1262)
OKLCHoklch(31.56% 0.136 292.3)
XYZxyz(4.8134, 2.6985, 15.3031)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A6F #526F1A
analogous
#1A276F #371A6F #621A6F
triadic
#371A6F #6F371A #1A6F37
tetradic
#371A6F #6F1A27 #526F1A #1A6F62
square
#371A6F #6F1A27 #526F1A #1A6F62
split-complementary
#371A6F #6F621A #276F1A
monochromatic
#0C0619 #1E0E3D #371A6F #5026A1 #6934CF

Accessibility & contrast

On white

13.64
#371A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A6F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A6F#FFFFFF#000000##FFFFFF
##371A6F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#253043
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371a6f;
/* rgb */ color: rgb(55, 26, 111);
/* oklch */ color: oklch(31.6% 0.136 292.3);
Tailwind
colors: {
  custom: {
    50: '#745a99',
    500: '#371a6f',
    950: '#000000',
  },
}
SCSS
$custom: #371a6f;
$custom-light: #745a99;
$custom-dark: #000000;
JSON
{
  "hex": "#371a6f",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 260.471,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31555,
    "c": 0.13644,
    "h": 292.3
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#371A6F
secondary
#82A441
accent
#E543AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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