#370540#370540

#370540 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.109 H 320.8°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#370540
RGBrgb(55, 5, 64)
HSLhsl(291, 86%, 14%)
HSVhsv(291, 92%, 25%)
CMYKcmyk(14.1%, 92.2%, 0%, 74.9%)
CIE-LABlab(11.21, 32.48, -24.53)
CIE-LCHlch(11.21, 40.70, 322.94°)
OKLaboklab(24.91% 0.0845 -0.0689)
OKLCHoklch(24.91% 0.109 320.8)
XYZxyz(2.5551, 1.2911, 4.9641)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370540 #0E4005
analogous
#190540 #370540 #40052B
triadic
#370540 #403705 #054037
tetradic
#370540 #401905 #0E4005 #052B40
square
#370540 #401905 #0E4005 #052B40
split-complementary
#370540 #2B4005 #054019
monochromatic
#18021C #18021C #370540 #680979 #990EB2

Accessibility & contrast

On white

16.69
#370540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#370540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370540
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370540#FFFFFF#000000##FFFFFF
##3705401.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#371223
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #370540;
/* rgb */ color: rgb(55, 5, 64);
/* oklch */ color: oklch(24.9% 0.109 320.8);
Tailwind
colors: {
  custom: {
    50: '#714c75',
    500: '#370540',
    950: '#000000',
  },
}
SCSS
$custom: #370540;
$custom-light: #714c75;
$custom-dark: #000000;
JSON
{
  "hex": "#370540",
  "rgb": {
    "r": 55,
    "g": 5,
    "b": 64
  },
  "hsl": {
    "h": 290.847,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24913,
    "c": 0.10903,
    "h": 320.8
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#370540
secondary
#2F8120
accent
#FC2C4C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #370540

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

Preview Lab → · Contrast checker → · Palette generator →

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