#370840#370840

#370840 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.105 H 320.5°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#370840
RGBrgb(55, 8, 64)
HSLhsl(290, 78%, 14%)
HSVhsv(290, 88%, 25%)
CMYKcmyk(14.1%, 87.5%, 0%, 74.9%)
CIE-LABlab(11.66, 31.18, -23.81)
CIE-LCHlch(11.66, 39.23, 322.64°)
OKLaboklab(25.23% 0.0811 -0.0668)
OKLCHoklch(25.23% 0.105 320.5)
XYZxyz(2.5877, 1.3562, 4.9750)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370840 #114008
analogous
#1B0840 #370840 #40082D
triadic
#370840 #403708 #084037
tetradic
#370840 #401B08 #114008 #082D40
square
#370840 #401B08 #114008 #082D40
split-complementary
#370840 #2D4008 #08401B
monochromatic
#17031B #17031B #370840 #660F76 #9516AD

Accessibility & contrast

On white

16.52
#370840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#370840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370840
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370840#FFFFFF#000000##FFFFFF
##3708401.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#0E203F
Tritanopia (blue-blind)
#371424
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370840;
/* rgb */ color: rgb(55, 8, 64);
/* oklch */ color: oklch(25.2% 0.105 320.5);
Tailwind
colors: {
  custom: {
    50: '#704e75',
    500: '#370840',
    950: '#000000',
  },
}
SCSS
$custom: #370840;
$custom-light: #704e75;
$custom-dark: #000000;
JSON
{
  "hex": "#370840",
  "rgb": {
    "r": 55,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 290.357,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2523,
    "c": 0.10503,
    "h": 320.5
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#370840
secondary
#347E25
accent
#F43452
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370840

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

Preview Lab → · Contrast checker → · Palette generator →

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