#370E47#370E47

#370E47 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.105 H 314.6°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#370E47
RGBrgb(55, 14, 71)
HSLhsl(283, 67%, 17%)
HSVhsv(283, 80%, 28%)
CMYKcmyk(22.5%, 80.3%, 0%, 72.2%)
CIE-LABlab(13.12, 30.19, -26.39)
CIE-LCHlch(13.12, 40.10, 318.85°)
OKLaboklab(26.44% 0.0734 -0.0744)
OKLCHoklch(26.44% 0.105 314.6)
XYZxyz(2.8697, 1.5813, 6.1141)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E47 #1E470E
analogous
#1B0E47 #370E47 #470E3B
triadic
#370E47 #47370E #0E4737
tetradic
#370E47 #471B0E #1E470E #0E3B47
square
#370E47 #471B0E #1E470E #0E3B47
split-complementary
#370E47 #3B470E #0E471B
monochromatic
#14051A #14051A #370E47 #5F187A #8622AD

Accessibility & contrast

On white

15.96
#370E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E47
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E47#FFFFFF#000000##FFFFFF
##370E471.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370e47;
/* rgb */ color: rgb(55, 14, 71);
/* oklch */ color: oklch(26.4% 0.105 314.6);
Tailwind
colors: {
  custom: {
    50: '#70517b',
    500: '#370e47',
    950: '#000000',
  },
}
SCSS
$custom: #370e47;
$custom-light: #70517b;
$custom-dark: #000000;
JSON
{
  "hex": "#370e47",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 283.158,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26435,
    "c": 0.10451,
    "h": 314.6
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#370E47
secondary
#46822F
accent
#EA3E6E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370E47

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

Preview Lab → · Contrast checker → · Palette generator →

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