#370F47#370F47

#370F47 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.103 H 314.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#370F47
RGBrgb(55, 15, 71)
HSLhsl(283, 65%, 17%)
HSVhsv(283, 79%, 28%)
CMYKcmyk(22.5%, 78.9%, 0%, 72.2%)
CIE-LABlab(13.28, 29.72, -26.12)
CIE-LCHlch(13.28, 39.56, 318.69°)
OKLaboklab(26.56% 0.0722 -0.0736)
OKLCHoklch(26.56% 0.103 314.5)
XYZxyz(2.8835, 1.6089, 6.1187)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F47 #1F470F
analogous
#1B0F47 #370F47 #470F3B
triadic
#370F47 #47370F #0F4737
tetradic
#370F47 #471B0F #1F470F #0F3B47
square
#370F47 #471B0F #1F470F #0F3B47
split-complementary
#370F47 #3B470F #0F471B
monochromatic
#140519 #140519 #370F47 #5E1A7A #8524AC

Accessibility & contrast

On white

15.89
#370F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#370F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F47
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F47#FFFFFF#000000##FFFFFF
##370F471.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#361B29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370f47;
/* rgb */ color: rgb(55, 15, 71);
/* oklch */ color: oklch(26.6% 0.103 314.5);
Tailwind
colors: {
  custom: {
    50: '#70517b',
    500: '#370f47',
    950: '#000000',
  },
}
SCSS
$custom: #370f47;
$custom-light: #70517b;
$custom-dark: #000000;
JSON
{
  "hex": "#370f47",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 282.857,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26555,
    "c": 0.10311,
    "h": 314.5
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#370F47
secondary
#488130
accent
#E84070
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370F47

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

Preview Lab → · Contrast checker → · Palette generator →

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