#370938#370938

#370938 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.096 H 327.1°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#370938
RGBrgb(55, 9, 56)
HSLhsl(299, 72%, 13%)
HSVhsv(299, 84%, 22%)
CMYKcmyk(1.8%, 83.9%, 0%, 78%)
CIE-LABlab(11.23, 29.06, -18.78)
CIE-LCHlch(11.23, 34.60, 327.12°)
OKLaboklab(24.73% 0.0805 -0.0521)
OKLCHoklch(24.73% 0.096 327.1)
XYZxyz(2.3870, 1.2933, 3.8645)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370938 #0A3809
analogous
#1F0938 #370938 #380922
triadic
#370938 #383709 #093837
tetradic
#370938 #381F09 #0A3809 #092238
square
#370938 #381F09 #0A3809 #092238
split-complementary
#370938 #223809 #09381F
monochromatic
#1A041A #1A041A #370938 #6B116D #9F1AA1

Accessibility & contrast

On white

16.69
#370938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370938
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370938#FFFFFF#000000##FFFFFF
##3709381.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#152037
Tritanopia (blue-blind)
#391020
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #370938;
/* rgb */ color: rgb(55, 9, 56);
/* oklch */ color: oklch(24.7% 0.096 327.1);
Tailwind
colors: {
  custom: {
    50: '#704e6f',
    500: '#370938',
    950: '#000000',
  },
}
SCSS
$custom: #370938;
$custom-light: #704e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#370938",
  "rgb": {
    "r": 55,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 298.723,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.24734,
    "c": 0.09589,
    "h": 327.1
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#370938
secondary
#287627
accent
#EF393D
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #370938

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

Preview Lab → · Contrast checker → · Palette generator →

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