#370A47#370A47

#370A47 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.110 H 315.2°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#370A47
RGBrgb(55, 10, 71)
HSLhsl(284, 75%, 16%)
HSVhsv(284, 86%, 28%)
CMYKcmyk(22.5%, 85.9%, 0%, 72.2%)
CIE-LABlab(12.51, 31.93, -27.37)
CIE-LCHlch(12.51, 42.06, 319.40°)
OKLaboklab(26.01% 0.0778 -0.0772)
OKLCHoklch(26.01% 0.11 315.2)
XYZxyz(2.8212, 1.4843, 6.0979)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370A47 #1A470A
analogous
#180A47 #370A47 #470A38
triadic
#370A47 #47370A #0A4737
tetradic
#370A47 #47180A #1A470A #0A3847
square
#370A47 #47180A #1A470A #0A3847
split-complementary
#370A47 #38470A #0A4718
monochromatic
#15041B #15041B #370A47 #61127D #8A19B2

Accessibility & contrast

On white

16.19
#370A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370A47
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370A47#FFFFFF#000000##FFFFFF
##370A471.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#082246
Tritanopia (blue-blind)
#361828
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370a47;
/* rgb */ color: rgb(55, 10, 71);
/* oklch */ color: oklch(26.0% 0.110 315.2);
Tailwind
colors: {
  custom: {
    50: '#714f7b',
    500: '#370a47',
    950: '#000000',
  },
}
SCSS
$custom: #370a47;
$custom-light: #714f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#370a47",
  "rgb": {
    "r": 55,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 284.262,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26005,
    "c": 0.10961,
    "h": 315.2
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#370A47
secondary
#418429
accent
#F23667
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370A47

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

Preview Lab → · Contrast checker → · Palette generator →

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