#370738#370738

#370738 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.099 H 327.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#370738
RGBrgb(55, 7, 56)
HSLhsl(299, 78%, 12%)
HSVhsv(299, 88%, 22%)
CMYKcmyk(1.8%, 87.5%, 0%, 78%)
CIE-LABlab(10.92, 29.94, -19.27)
CIE-LCHlch(10.92, 35.61, 327.23°)
OKLaboklab(24.51% 0.083 -0.0535)
OKLCHoklch(24.51% 0.099 327.2)
XYZxyz(2.3653, 1.2499, 3.8573)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370738 #083807
analogous
#1F0738 #370738 #380720
triadic
#370738 #383707 #073837
tetradic
#370738 #381F07 #083807 #072038
square
#370738 #381F07 #083807 #072038
split-complementary
#370738 #203807 #07381F
monochromatic
#1B031B #1B031B #370738 #6C0E6E #A215A5

Accessibility & contrast

On white

16.80
#370738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#370738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370738
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370738#FFFFFF#000000##FFFFFF
##3707381.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#141F37
Tritanopia (blue-blind)
#390F1F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #370738;
/* rgb */ color: rgb(55, 7, 56);
/* oklch */ color: oklch(24.5% 0.099 327.2);
Tailwind
colors: {
  custom: {
    50: '#704d6f',
    500: '#370738',
    950: '#000000',
  },
}
SCSS
$custom: #370738;
$custom-light: #704d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#370738",
  "rgb": {
    "r": 55,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 298.776,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.24514,
    "c": 0.09874,
    "h": 327.2
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#370738
secondary
#257823
accent
#F43437
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #370738

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

Preview Lab → · Contrast checker → · Palette generator →

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