#371348#371348

#371348 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.098 H 313.0°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#371348
RGBrgb(55, 19, 72)
HSLhsl(281, 58%, 18%)
HSVhsv(281, 74%, 28%)
CMYKcmyk(23.6%, 73.6%, 0%, 71.8%)
CIE-LABlab(14.09, 27.91, -25.51)
CIE-LCHlch(14.09, 37.82, 317.58°)
OKLaboklab(27.16% 0.067 -0.0718)
OKLCHoklch(27.16% 0.098 313)
XYZxyz(2.9779, 1.7459, 6.3098)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371348 #244813
analogous
#1C1348 #371348 #48133E
triadic
#371348 #483713 #134837
tetradic
#371348 #481C13 #244813 #133E48
square
#371348 #481C13 #244813 #133E48
split-complementary
#371348 #3E4813 #13481C
monochromatic
#120618 #120618 #371348 #5C2078 #812DA9

Accessibility & contrast

On white

15.56
#371348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#371348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371348
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371348#FFFFFF#000000##FFFFFF
##3713481.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#0F2547
Tritanopia (blue-blind)
#351D2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #371348;
/* rgb */ color: rgb(55, 19, 72);
/* oklch */ color: oklch(27.2% 0.098 313.0);
Tailwind
colors: {
  custom: {
    50: '#70547b',
    500: '#371348',
    950: '#000000',
  },
}
SCSS
$custom: #371348;
$custom-light: #70547b;
$custom-dark: #000000;
JSON
{
  "hex": "#371348",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 280.755,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27159,
    "c": 0.09822,
    "h": 313
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#371348
secondary
#4E8136
accent
#E14678
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #371348

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

Preview Lab → · Contrast checker → · Palette generator →

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