#370A42#370A42

#370A42 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.104 H 318.8°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#370A42
RGBrgb(55, 10, 66)
HSLhsl(288, 74%, 15%)
HSVhsv(288, 85%, 26%)
CMYKcmyk(16.7%, 84.8%, 0%, 74.1%)
CIE-LABlab(12.11, 30.79, -24.50)
CIE-LCHlch(12.11, 39.35, 321.48°)
OKLaboklab(25.6% 0.0786 -0.0688)
OKLCHoklch(25.6% 0.104 318.8)
XYZxyz(2.6673, 1.4228, 5.2873)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370A42 #15420A
analogous
#1B0A42 #370A42 #420A31
triadic
#370A42 #42370A #0A4237
tetradic
#370A42 #421B0A #15420A #0A3142
square
#370A42 #421B0A #15420A #0A3142
split-complementary
#370A42 #31420A #0A421B
monochromatic
#16041B #16041B #370A42 #631277 #901AAC

Accessibility & contrast

On white

16.35
#370A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370A42
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370A42#FFFFFF#000000##FFFFFF
##370A421.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#0E2141
Tritanopia (blue-blind)
#371625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370a42;
/* rgb */ color: rgb(55, 10, 66);
/* oklch */ color: oklch(25.6% 0.104 318.8);
Tailwind
colors: {
  custom: {
    50: '#704f77',
    500: '#370a42',
    950: '#000000',
  },
}
SCSS
$custom: #370a42;
$custom-light: #704f77;
$custom-dark: #000000;
JSON
{
  "hex": "#370a42",
  "rgb": {
    "r": 55,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 288.214,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.10448,
    "h": 318.8
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#370A42
secondary
#3A7F29
accent
#F0375C
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370A42

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

Preview Lab → · Contrast checker → · Palette generator →

#370A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva