#371550#371550

#371550 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.105 H 307.4°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#371550
RGBrgb(55, 21, 80)
HSLhsl(275, 58%, 20%)
HSVhsv(275, 74%, 31%)
CMYKcmyk(31.2%, 73.7%, 0%, 68.6%)
CIE-LABlab(15.10, 28.91, -29.39)
CIE-LCHlch(15.10, 41.22, 314.53°)
OKLaboklab(28.08% 0.0636 -0.0832)
OKLCHoklch(28.08% 0.105 307.4)
XYZxyz(3.2914, 1.9278, 7.7866)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371550 #2E5015
analogous
#191550 #371550 #50154C
triadic
#371550 #503715 #155037
tetradic
#371550 #501915 #2E5015 #154C50
square
#371550 #501915 #2E5015 #154C50
split-complementary
#371550 #4C5015 #155019
monochromatic
#110618 #160820 #371550 #582280 #7A2EB1

Accessibility & contrast

On white

15.16
#371550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371550
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371550#FFFFFF#000000##FFFFFF
##3715501.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#07264F
Tritanopia (blue-blind)
#332230
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371550;
/* rgb */ color: rgb(55, 21, 80);
/* oklch */ color: oklch(28.1% 0.105 307.4);
Tailwind
colors: {
  custom: {
    50: '#715581',
    500: '#371550',
    950: '#000000',
  },
}
SCSS
$custom: #371550;
$custom-light: #715581;
$custom-dark: #000000;
JSON
{
  "hex": "#371550",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 274.576,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28081,
    "c": 0.10474,
    "h": 307.4
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#371550
secondary
#5A8839
accent
#E24688
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371550

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

Preview Lab → · Contrast checker → · Palette generator →

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