#371155#371155

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

Color values

HEX#371155
RGBrgb(55, 17, 85)
HSLhsl(274, 67%, 20%)
HSVhsv(274, 80%, 33%)
CMYKcmyk(35.3%, 80%, 0%, 66.7%)
CIE-LABlab(14.78, 32.30, -33.31)
CIE-LCHlch(14.78, 46.40, 314.12°)
OKLaboklab(27.99% 0.0675 -0.0947)
OKLCHoklch(27.99% 0.116 305.4)
XYZxyz(3.4153, 1.8690, 8.7734)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371155 #2F5511
analogous
#151155 #371155 #551151
triadic
#371155 #553711 #115537
tetradic
#371155 #551511 #2F5511 #115155
square
#371155 #551511 #2F5511 #115155
split-complementary
#371155 #515511 #115515
monochromatic
#10051A #160722 #371155 #581B88 #7925BB

Accessibility & contrast

On white

15.29
#371155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371155
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371155#FFFFFF#000000##FFFFFF
##3711551.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#312232
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371155;
/* rgb */ color: rgb(55, 17, 85);
/* oklch */ color: oklch(28.0% 0.116 305.4);
Tailwind
colors: {
  custom: {
    50: '#715385',
    500: '#371155',
    950: '#000000',
  },
}
SCSS
$custom: #371155;
$custom-light: #715385;
$custom-dark: #000000;
JSON
{
  "hex": "#371155",
  "rgb": {
    "r": 55,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 273.529,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.27985,
    "c": 0.1163,
    "h": 305.4
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#371155
secondary
#5C8E34
accent
#EA3E8A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371155

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

Preview Lab → · Contrast checker → · Palette generator →

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