#371159#371159

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

Color values

HEX#371159
RGBrgb(55, 17, 89)
HSLhsl(272, 68%, 21%)
HSVhsv(272, 81%, 35%)
CMYKcmyk(38.2%, 80.9%, 0%, 65.1%)
CIE-LABlab(15.14, 33.36, -35.43)
CIE-LCHlch(15.14, 48.67, 313.28°)
OKLaboklab(28.35% 0.0665 -0.101)
OKLCHoklch(28.35% 0.121 303.4)
XYZxyz(3.5787, 1.9344, 9.6341)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371159 #335911
analogous
#131159 #371159 #591157
triadic
#371159 #593711 #115937
tetradic
#371159 #591311 #335911 #115759
square
#371159 #591311 #335911 #115759
split-complementary
#371159 #575911 #115913
monochromatic
#10051A #170726 #371159 #571B8C #7725C0

Accessibility & contrast

On white

15.14
#371159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#371159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371159
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371159#FFFFFF#000000##FFFFFF
##3711591.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371159;
/* rgb */ color: rgb(55, 17, 89);
/* oklch */ color: oklch(28.3% 0.121 303.4);
Tailwind
colors: {
  custom: {
    50: '#725388',
    500: '#371159',
    950: '#000000',
  },
}
SCSS
$custom: #371159;
$custom-light: #725388;
$custom-dark: #000000;
JSON
{
  "hex": "#371159",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 271.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28347,
    "c": 0.12091,
    "h": 303.4
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#371159
secondary
#609234
accent
#EB3D8F
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371159

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

Preview Lab → · Contrast checker → · Palette generator →

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