#370841#370841

#370841 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.106 H 319.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#370841
RGBrgb(55, 8, 65)
HSLhsl(289, 78%, 14%)
HSVhsv(289, 88%, 25%)
CMYKcmyk(15.4%, 87.7%, 0%, 74.5%)
CIE-LABlab(11.74, 31.40, -24.39)
CIE-LCHlch(11.74, 39.76, 322.16°)
OKLaboklab(25.31% 0.0809 -0.0685)
OKLCHoklch(25.31% 0.106 319.8)
XYZxyz(2.6164, 1.3677, 5.1262)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370841 #124108
analogous
#1B0841 #370841 #41082F
triadic
#370841 #413708 #084137
tetradic
#370841 #411B08 #124108 #082F41
square
#370841 #411B08 #124108 #082F41
split-complementary
#370841 #2F4108 #08411B
monochromatic
#17031B #17031B #370841 #650F77 #9315AE

Accessibility & contrast

On white

16.49
#370841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370841
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370841#FFFFFF#000000##FFFFFF
##3708411.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370841;
/* rgb */ color: rgb(55, 8, 65);
/* oklch */ color: oklch(25.3% 0.106 319.8);
Tailwind
colors: {
  custom: {
    50: '#704e76',
    500: '#370841',
    950: '#000000',
  },
}
SCSS
$custom: #370841;
$custom-light: #704e76;
$custom-dark: #000000;
JSON
{
  "hex": "#370841",
  "rgb": {
    "r": 55,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 289.474,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2531,
    "c": 0.10601,
    "h": 319.8
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#370841
secondary
#357F25
accent
#F53355
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370841

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

Preview Lab → · Contrast checker → · Palette generator →

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