#370640#370640

#370640 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.108 H 320.7°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#370640
RGBrgb(55, 6, 64)
HSLhsl(291, 83%, 14%)
HSVhsv(291, 91%, 25%)
CMYKcmyk(14.1%, 90.6%, 0%, 74.9%)
CIE-LABlab(11.36, 32.04, -24.28)
CIE-LCHlch(11.36, 40.21, 322.84°)
OKLaboklab(25.02% 0.0834 -0.0681)
OKLCHoklch(25.02% 0.108 320.7)
XYZxyz(2.5660, 1.3128, 4.9677)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370640 #0F4006
analogous
#1A0640 #370640 #40062C
triadic
#370640 #403706 #064037
tetradic
#370640 #401A06 #0F4006 #062C40
square
#370640 #401A06 #0F4006 #062C40
split-complementary
#370640 #2C4006 #06401A
monochromatic
#18031C #18031C #370640 #670B78 #9710B0

Accessibility & contrast

On white

16.63
#370640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#370640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370640
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370640#FFFFFF#000000##FFFFFF
##3706401.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370640;
/* rgb */ color: rgb(55, 6, 64);
/* oklch */ color: oklch(25.0% 0.108 320.7);
Tailwind
colors: {
  custom: {
    50: '#704d75',
    500: '#370640',
    950: '#000000',
  },
}
SCSS
$custom: #370640;
$custom-light: #704d75;
$custom-dark: #000000;
JSON
{
  "hex": "#370640",
  "rgb": {
    "r": 55,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 290.69,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2502,
    "c": 0.10767,
    "h": 320.7
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#370640
secondary
#318022
accent
#F92F4E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370640

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

Preview Lab → · Contrast checker → · Palette generator →

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