#371A5F#371A5F

#371A5F is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.116 H 298.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#371A5F
RGBrgb(55, 26, 95)
HSLhsl(265, 57%, 24%)
HSVhsv(265, 73%, 37%)
CMYKcmyk(42.1%, 72.6%, 0%, 62.7%)
CIE-LABlab(17.35, 30.30, -35.84)
CIE-LCHlch(17.35, 46.93, 310.21°)
OKLaboklab(30.08% 0.0552 -0.1022)
OKLCHoklch(30.08% 0.116 298.4)
XYZxyz(4.0100, 2.3772, 11.0718)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A5F #425F1A
analogous
#1A1F5F #371A5F #591A5F
triadic
#371A5F #5F371A #1A5F37
tetradic
#371A5F #5F1A1F #425F1A #1A5F59
square
#371A5F #5F1A1F #425F1A #1A5F59
split-complementary
#371A5F #5F591A #1F5F1A
monochromatic
#0E0718 #1B0D2F #371A5F #53278F #6F34BF

Accessibility & contrast

On white

14.23
#371A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A5F
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A5F#FFFFFF#000000##FFFFFF
##371A5F1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#2D2A3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371a5f;
/* rgb */ color: rgb(55, 26, 95);
/* oklch */ color: oklch(30.1% 0.116 298.4);
Tailwind
colors: {
  custom: {
    50: '#72598d',
    500: '#371a5f',
    950: '#000000',
  },
}
SCSS
$custom: #371a5f;
$custom-light: #72598d;
$custom-dark: #000000;
JSON
{
  "hex": "#371a5f",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 265.217,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30084,
    "c": 0.1162,
    "h": 298.4
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#371A5F
secondary
#719540
accent
#E048A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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