#370538#370538

#370538 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.102 H 327.3°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#370538
RGBrgb(55, 5, 56)
HSLhsl(299, 84%, 12%)
HSVhsv(299, 91%, 22%)
CMYKcmyk(1.8%, 91.1%, 0%, 78%)
CIE-LABlab(10.61, 30.85, -19.77)
CIE-LCHlch(10.61, 36.64, 327.34°)
OKLaboklab(24.29% 0.0855 -0.055)
OKLCHoklch(24.29% 0.102 327.3)
XYZxyz(2.3436, 1.2065, 3.8500)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370538 #063805
analogous
#1E0538 #370538 #380520
triadic
#370538 #383705 #053837
tetradic
#370538 #381E05 #063805 #052038
square
#370538 #381E05 #063805 #052038
split-complementary
#370538 #203805 #05381E
monochromatic
#1C031C #1C031C #370538 #6E0A70 #A50FA8

Accessibility & contrast

On white

16.92
#370538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#370538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370538
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370538#FFFFFF#000000##FFFFFF
##3705381.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#390E1E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #370538;
/* rgb */ color: rgb(55, 5, 56);
/* oklch */ color: oklch(24.3% 0.102 327.3);
Tailwind
colors: {
  custom: {
    50: '#704c6f',
    500: '#370538',
    950: '#000000',
  },
}
SCSS
$custom: #370538;
$custom-light: #704c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#370538",
  "rgb": {
    "r": 55,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 298.824,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2429,
    "c": 0.10167,
    "h": 327.3
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#370538
secondary
#217920
accent
#FA2E32
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #370538

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

Preview Lab → · Contrast checker → · Palette generator →

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