#371552#371552

#371552 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.2% C 0.107 H 306.2°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#371552
RGBrgb(55, 21, 82)
HSLhsl(273, 59%, 20%)
HSVhsv(273, 74%, 32%)
CMYKcmyk(32.9%, 74.4%, 0%, 67.8%)
CIE-LABlab(15.26, 29.44, -30.49)
CIE-LCHlch(15.26, 42.39, 314.00°)
OKLaboklab(28.25% 0.0633 -0.0865)
OKLCHoklch(28.25% 0.107 306.2)
XYZxyz(3.3664, 1.9578, 8.1816)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371552 #305215
analogous
#191552 #371552 #52154E
triadic
#371552 #523715 #155237
tetradic
#371552 #521915 #305215 #154E52
square
#371552 #521915 #305215 #154E52
split-complementary
#371552 #4E5215 #155219
monochromatic
#100618 #160921 #371552 #582183 #782EB3

Accessibility & contrast

On white

15.09
#371552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371552
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371552#FFFFFF#000000##FFFFFF
##3715521.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#042651
Tritanopia (blue-blind)
#322331
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #371552;
/* rgb */ color: rgb(55, 21, 82);
/* oklch */ color: oklch(28.2% 0.107 306.2);
Tailwind
colors: {
  custom: {
    50: '#715583',
    500: '#371552',
    950: '#000000',
  },
}
SCSS
$custom: #371552;
$custom-light: #715583;
$custom-dark: #000000;
JSON
{
  "hex": "#371552",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 273.443,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28247,
    "c": 0.10718,
    "h": 306.2
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#371552
secondary
#5D8A39
accent
#E2458B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371552

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

Preview Lab → · Contrast checker → · Palette generator →

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