#371249#371249

#371249 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.101 H 312.5°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#371249
RGBrgb(55, 18, 73)
HSLhsl(280, 60%, 18%)
HSVhsv(280, 75%, 29%)
CMYKcmyk(24.7%, 75.3%, 0%, 71.4%)
CIE-LABlab(13.98, 28.70, -26.39)
CIE-LCHlch(13.98, 38.99, 317.40°)
OKLaboklab(27.1% 0.0682 -0.0744)
OKLCHoklch(27.1% 0.101 312.5)
XYZxyz(2.9942, 1.7260, 6.4775)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371249 #244912
analogous
#1B1249 #371249 #49123F
triadic
#371249 #493712 #124937
tetradic
#371249 #491B12 #244912 #123F49
square
#371249 #491B12 #244912 #123F49
split-complementary
#371249 #3F4912 #12491B
monochromatic
#120619 #120619 #371249 #5C1E7A #812AAB

Accessibility & contrast

On white

15.61
#371249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371249
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371249#FFFFFF#000000##FFFFFF
##3712491.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371249;
/* rgb */ color: rgb(55, 18, 73);
/* oklch */ color: oklch(27.1% 0.101 312.5);
Tailwind
colors: {
  custom: {
    50: '#70537c',
    500: '#371249',
    950: '#000000',
  },
}
SCSS
$custom: #371249;
$custom-light: #70537c;
$custom-dark: #000000;
JSON
{
  "hex": "#371249",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 280.364,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.271,
    "c": 0.10095,
    "h": 312.5
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#371249
secondary
#4E8235
accent
#E44478
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #371249

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

Preview Lab → · Contrast checker → · Palette generator →

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