#371247#371247

#371247 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.099 H 313.9°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#371247
RGBrgb(55, 18, 71)
HSLhsl(282, 60%, 17%)
HSVhsv(282, 75%, 28%)
CMYKcmyk(22.5%, 74.6%, 0%, 72.2%)
CIE-LABlab(13.83, 28.20, -25.24)
CIE-LCHlch(13.83, 37.85, 318.16°)
OKLaboklab(26.94% 0.0684 -0.0711)
OKLCHoklch(26.94% 0.099 313.9)
XYZxyz(2.9290, 1.6999, 6.1338)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371247 #224712
analogous
#1D1247 #371247 #47123D
triadic
#371247 #473712 #124737
tetradic
#371247 #471D12 #224712 #123D47
square
#371247 #471D12 #224712 #123D47
split-complementary
#371247 #3D4712 #12471D
monochromatic
#130618 #130618 #371247 #5D1E78 #832BA9

Accessibility & contrast

On white

15.67
#371247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#371247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371247
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371247#FFFFFF#000000##FFFFFF
##3712471.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#0F2446
Tritanopia (blue-blind)
#351C2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371247;
/* rgb */ color: rgb(55, 18, 71);
/* oklch */ color: oklch(26.9% 0.099 313.9);
Tailwind
colors: {
  custom: {
    50: '#70537a',
    500: '#371247',
    950: '#000000',
  },
}
SCSS
$custom: #371247;
$custom-light: #70537a;
$custom-dark: #000000;
JSON
{
  "hex": "#371247",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 281.887,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26943,
    "c": 0.09863,
    "h": 313.9
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#371247
secondary
#4B8035
accent
#E34575
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371247

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

Preview Lab → · Contrast checker → · Palette generator →

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