#370740#370740

#370740 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.106 H 320.6°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#370740
RGBrgb(55, 7, 64)
HSLhsl(291, 80%, 14%)
HSVhsv(291, 89%, 25%)
CMYKcmyk(14.1%, 89.1%, 0%, 74.9%)
CIE-LABlab(11.51, 31.61, -24.04)
CIE-LCHlch(11.51, 39.71, 322.74°)
OKLaboklab(25.13% 0.0822 -0.0675)
OKLCHoklch(25.13% 0.106 320.6)
XYZxyz(2.5768, 1.3345, 4.9713)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370740 #104007
analogous
#1B0740 #370740 #40072D
triadic
#370740 #403707 #074037
tetradic
#370740 #401B07 #104007 #072D40
square
#370740 #401B07 #104007 #072D40
split-complementary
#370740 #2D4007 #07401B
monochromatic
#18031C #18031C #370740 #660D77 #9613AE

Accessibility & contrast

On white

16.58
#370740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370740
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370740#FFFFFF#000000##FFFFFF
##3707401.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#0D203F
Tritanopia (blue-blind)
#371324
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370740;
/* rgb */ color: rgb(55, 7, 64);
/* oklch */ color: oklch(25.1% 0.106 320.6);
Tailwind
colors: {
  custom: {
    50: '#704d75',
    500: '#370740',
    950: '#000000',
  },
}
SCSS
$custom: #370740;
$custom-light: #704d75;
$custom-dark: #000000;
JSON
{
  "hex": "#370740",
  "rgb": {
    "r": 55,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 290.526,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25126,
    "c": 0.10635,
    "h": 320.6
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#370740
secondary
#327F24
accent
#F73150
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370740

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

Preview Lab → · Contrast checker → · Palette generator →

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