#371546#371546

#371546 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.093 H 314.0°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#371546
RGBrgb(55, 21, 70)
HSLhsl(282, 54%, 18%)
HSVhsv(282, 70%, 27%)
CMYKcmyk(21.4%, 70%, 0%, 72.5%)
CIE-LABlab(14.35, 26.30, -23.71)
CIE-LCHlch(14.35, 35.41, 317.96°)
OKLaboklab(27.3% 0.0643 -0.0666)
OKLCHoklch(27.3% 0.093 314)
XYZxyz(2.9490, 1.7908, 5.9835)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371546 #244615
analogous
#1F1546 #371546 #46153C
triadic
#371546 #463715 #154637
tetradic
#371546 #461F15 #244615 #153C46
square
#371546 #461F15 #244615 #153C46
split-complementary
#371546 #3C4615 #15461F
monochromatic
#120718 #120718 #371546 #5C2375 #8131A4

Accessibility & contrast

On white

15.46
#371546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#371546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371546
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371546#FFFFFF#000000##FFFFFF
##3715461.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042248
Deuteranopia (green-blind)
#132545
Tritanopia (blue-blind)
#361E2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371546;
/* rgb */ color: rgb(55, 21, 70);
/* oklch */ color: oklch(27.3% 0.093 314.0);
Tailwind
colors: {
  custom: {
    50: '#70557a',
    500: '#371546',
    950: '#000000',
  },
}
SCSS
$custom: #371546;
$custom-light: #70557a;
$custom-dark: #000000;
JSON
{
  "hex": "#371546",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 281.633,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27296,
    "c": 0.09255,
    "h": 314
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#371546
secondary
#4E7E39
accent
#DD4B77
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #371546

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

Preview Lab → · Contrast checker → · Palette generator →

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