#371A58#371A58

#371A58 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.107 H 301.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#371A58
RGBrgb(55, 26, 88)
HSLhsl(268, 54%, 22%)
HSVhsv(268, 70%, 35%)
CMYKcmyk(37.5%, 70.5%, 0%, 65.5%)
CIE-LABlab(16.78, 28.28, -32.11)
CIE-LCHlch(16.78, 42.78, 311.37°)
OKLaboklab(29.49% 0.0562 -0.0913)
OKLCHoklch(29.49% 0.107 301.6)
XYZxyz(3.7060, 2.2556, 9.4708)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371A58 #3B581A
analogous
#1A1C58 #371A58 #561A58
triadic
#371A58 #58371A #1A5837
tetradic
#371A58 #581A1C #3B581A #1A5856
square
#371A58 #581A1C #3B581A #1A5856
split-complementary
#371A58 #58561A #1C581A
monochromatic
#0F0718 #190C29 #371A58 #552887 #7236B6

Accessibility & contrast

On white

14.47
#371A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371A58
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371A58#FFFFFF#000000##FFFFFF
##371A581.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#022957
Tritanopia (blue-blind)
#302836
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371a58;
/* rgb */ color: rgb(55, 26, 88);
/* oklch */ color: oklch(29.5% 0.107 301.6);
Tailwind
colors: {
  custom: {
    50: '#715888',
    500: '#371a58',
    950: '#000000',
  },
}
SCSS
$custom: #371a58;
$custom-light: #715888;
$custom-dark: #000000;
JSON
{
  "hex": "#371a58",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 268.065,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.10716,
    "h": 301.6
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#371A58
secondary
#698E40
accent
#DE4A99
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371A58

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

Preview Lab → · Contrast checker → · Palette generator →

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