#371057#371057

#371057 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.120 H 304.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#371057
RGBrgb(55, 16, 87)
HSLhsl(273, 69%, 20%)
HSVhsv(273, 82%, 34%)
CMYKcmyk(36.8%, 81.6%, 0%, 65.9%)
CIE-LABlab(14.79, 33.30, -34.64)
CIE-LCHlch(14.79, 48.06, 313.87°)
OKLaboklab(28.05% 0.068 -0.0987)
OKLCHoklch(28.05% 0.12 304.6)
XYZxyz(3.4807, 1.8709, 9.1927)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371057 #305710
analogous
#141057 #371057 #571053
triadic
#371057 #573710 #105737
tetradic
#371057 #571410 #305710 #105357
square
#371057 #571410 #305710 #105357
split-complementary
#371057 #535710 #105714
monochromatic
#10051A #160623 #371057 #581A8B #7823BE

Accessibility & contrast

On white

15.28
#371057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#371057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371057
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371057#FFFFFF#000000##FFFFFF
##3710571.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#312233
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371057;
/* rgb */ color: rgb(55, 16, 87);
/* oklch */ color: oklch(28.0% 0.120 304.6);
Tailwind
colors: {
  custom: {
    50: '#725387',
    500: '#371057',
    950: '#000000',
  },
}
SCSS
$custom: #371057;
$custom-light: #725387;
$custom-dark: #000000;
JSON
{
  "hex": "#371057",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 272.958,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28048,
    "c": 0.11984,
    "h": 304.6
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#371057
secondary
#5D9032
accent
#EC3C8B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371057

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

Preview Lab → · Contrast checker → · Palette generator →

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