#370940#370940

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

Color values

HEX#370940
RGBrgb(55, 9, 64)
HSLhsl(290, 75%, 14%)
HSVhsv(290, 86%, 25%)
CMYKcmyk(14.1%, 85.9%, 0%, 74.9%)
CIE-LABlab(11.81, 30.76, -23.57)
CIE-LCHlch(11.81, 38.75, 322.54°)
OKLaboklab(25.33% 0.0799 -0.0661)
OKLCHoklch(25.33% 0.104 320.4)
XYZxyz(2.5985, 1.3779, 4.9786)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370940 #124009
analogous
#1C0940 #370940 #40092E
triadic
#370940 #403709 #094037
tetradic
#370940 #401C09 #124009 #092E40
square
#370940 #401C09 #124009 #092E40
split-complementary
#370940 #2E4009 #09401C
monochromatic
#17041B #17041B #370940 #651176 #9318AB

Accessibility & contrast

On white

16.46
#370940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370940
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370940#FFFFFF#000000##FFFFFF
##3709401.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370940;
/* rgb */ color: rgb(55, 9, 64);
/* oklch */ color: oklch(25.3% 0.104 320.4);
Tailwind
colors: {
  custom: {
    50: '#704e75',
    500: '#370940',
    950: '#000000',
  },
}
SCSS
$custom: #370940;
$custom-light: #704e75;
$custom-dark: #000000;
JSON
{
  "hex": "#370940",
  "rgb": {
    "r": 55,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 290.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25334,
    "c": 0.10373,
    "h": 320.4
  },
  "luminance": 0.01378
}

Semantic roles & 50–950 ramp

primary
#370940
secondary
#357E27
accent
#F23655
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370940

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

Preview Lab → · Contrast checker → · Palette generator →

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