#370542#370542

#370542 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.111 H 319.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#370542
RGBrgb(55, 5, 66)
HSLhsl(289, 86%, 14%)
HSVhsv(289, 92%, 26%)
CMYKcmyk(16.7%, 92.4%, 0%, 74.1%)
CIE-LABlab(11.37, 32.91, -25.69)
CIE-LCHlch(11.37, 41.75, 322.03°)
OKLaboklab(25.08% 0.0842 -0.0722)
OKLCHoklch(25.08% 0.111 319.4)
XYZxyz(2.6131, 1.3142, 5.2692)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370542 #104205
analogous
#190542 #370542 #42052F
triadic
#370542 #423705 #054237
tetradic
#370542 #421905 #104205 #052F42
square
#370542 #421905 #104205 #052F42
split-complementary
#370542 #2F4205 #054219
monochromatic
#18021C #18021C #370542 #66097B #960EB4

Accessibility & contrast

On white

16.63
#370542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370542
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370542#FFFFFF#000000##FFFFFF
##3705421.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#0A2041
Tritanopia (blue-blind)
#371324
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #370542;
/* rgb */ color: rgb(55, 5, 66);
/* oklch */ color: oklch(25.1% 0.111 319.4);
Tailwind
colors: {
  custom: {
    50: '#714d77',
    500: '#370542',
    950: '#000000',
  },
}
SCSS
$custom: #370542;
$custom-light: #714d77;
$custom-dark: #000000;
JSON
{
  "hex": "#370542",
  "rgb": {
    "r": 55,
    "g": 5,
    "b": 66
  },
  "hsl": {
    "h": 289.18,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25078,
    "c": 0.11091,
    "h": 319.4
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#370542
secondary
#328220
accent
#FC2C51
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #370542

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

Preview Lab → · Contrast checker → · Palette generator →

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