#371059#371059

#371059 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.122 H 303.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#371059
RGBrgb(55, 16, 89)
HSLhsl(272, 70%, 21%)
HSVhsv(272, 82%, 35%)
CMYKcmyk(38.2%, 82%, 0%, 65.1%)
CIE-LABlab(14.98, 33.83, -35.70)
CIE-LCHlch(14.98, 49.18, 313.46°)
OKLaboklab(28.23% 0.0675 -0.1018)
OKLCHoklch(28.23% 0.122 303.6)
XYZxyz(3.5636, 1.9041, 9.6290)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371059 #325910
analogous
#121059 #371059 #591056
triadic
#371059 #593710 #105937
tetradic
#371059 #591210 #325910 #105659
square
#371059 #591210 #325910 #105659
split-complementary
#371059 #565910 #105912
monochromatic
#10051A #170725 #371059 #57198D #7723C1

Accessibility & contrast

On white

15.21
#371059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371059
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371059#FFFFFF#000000##FFFFFF
##3710591.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#302334
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371059;
/* rgb */ color: rgb(55, 16, 89);
/* oklch */ color: oklch(28.2% 0.122 303.6);
Tailwind
colors: {
  custom: {
    50: '#725389',
    500: '#371059',
    950: '#000000',
  },
}
SCSS
$custom: #371059;
$custom-light: #725389;
$custom-dark: #000000;
JSON
{
  "hex": "#371059",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 272.055,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28232,
    "c": 0.12211,
    "h": 303.6
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#371059
secondary
#5F9233
accent
#EC3B8E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371059

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

Preview Lab → · Contrast checker → · Palette generator →

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