#370847#370847

#370847 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.8% C 0.112 H 315.5°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#370847
RGBrgb(55, 8, 71)
HSLhsl(285, 80%, 15%)
HSVhsv(285, 89%, 28%)
CMYKcmyk(22.5%, 88.7%, 0%, 72.2%)
CIE-LABlab(12.23, 32.74, -27.82)
CIE-LCHlch(12.23, 42.97, 319.65°)
OKLaboklab(25.81% 0.0798 -0.0785)
OKLCHoklch(25.81% 0.112 315.5)
XYZxyz(2.7995, 1.4409, 6.0907)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370847 #184708
analogous
#170847 #370847 #470837
triadic
#370847 #473708 #084737
tetradic
#370847 #471708 #184708 #083747
square
#370847 #471708 #184708 #083747
split-complementary
#370847 #374708 #084717
monochromatic
#15031C #15031C #370847 #620E7E #8C14B5

Accessibility & contrast

On white

16.30
#370847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#370847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370847
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370847#FFFFFF#000000##FFFFFF
##3708471.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#062146
Tritanopia (blue-blind)
#361728
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370847;
/* rgb */ color: rgb(55, 8, 71);
/* oklch */ color: oklch(25.8% 0.112 315.5);
Tailwind
colors: {
  custom: {
    50: '#714e7b',
    500: '#370847',
    950: '#000000',
  },
}
SCSS
$custom: #370847;
$custom-light: #714e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#370847",
  "rgb": {
    "r": 55,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 284.762,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25807,
    "c": 0.11199,
    "h": 315.5
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#370847
secondary
#3E8526
accent
#F63264
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370847

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

Preview Lab → · Contrast checker → · Palette generator →

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