#371058#371058

#371058 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.121 H 304.1°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#371058
RGBrgb(55, 16, 88)
HSLhsl(273, 69%, 20%)
HSVhsv(273, 82%, 35%)
CMYKcmyk(37.5%, 81.8%, 0%, 65.5%)
CIE-LABlab(14.88, 33.57, -35.17)
CIE-LCHlch(14.88, 48.62, 313.66°)
OKLaboklab(28.14% 0.0678 -0.1002)
OKLCHoklch(28.14% 0.121 304.1)
XYZxyz(3.5219, 1.8874, 9.4094)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371058 #315810
analogous
#131058 #371058 #581055
triadic
#371058 #583710 #105837
tetradic
#371058 #581310 #315810 #105558
square
#371058 #581310 #315810 #105558
split-complementary
#371058 #555810 #105813
monochromatic
#10051A #170724 #371058 #57198C #7823C0

Accessibility & contrast

On white

15.25
#371058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#371058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371058
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371058#FFFFFF#000000##FFFFFF
##3710581.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#302233
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371058;
/* rgb */ color: rgb(55, 16, 88);
/* oklch */ color: oklch(28.1% 0.121 304.1);
Tailwind
colors: {
  custom: {
    50: '#725388',
    500: '#371058',
    950: '#000000',
  },
}
SCSS
$custom: #371058;
$custom-light: #725388;
$custom-dark: #000000;
JSON
{
  "hex": "#371058",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 272.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2814,
    "c": 0.12097,
    "h": 304.1
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#371058
secondary
#5E9132
accent
#EC3C8D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371058

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

Preview Lab → · Contrast checker → · Palette generator →

#371058 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva