#370F4A#370F4A

#370F4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.106 H 312.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#370F4A
RGBrgb(55, 15, 74)
HSLhsl(281, 66%, 17%)
HSVhsv(281, 80%, 29%)
CMYKcmyk(25.7%, 79.7%, 0%, 71%)
CIE-LABlab(13.52, 30.45, -27.82)
CIE-LCHlch(13.52, 41.24, 317.59°)
OKLaboklab(26.8% 0.0718 -0.0786)
OKLCHoklch(26.8% 0.106 312.4)
XYZxyz(2.9822, 1.6484, 6.6383)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F4A #224A0F
analogous
#1A0F4A #370F4A #4A0F3F
triadic
#370F4A #4A370F #0F4A37
tetradic
#370F4A #4A1A0F #224A0F #0F3F4A
square
#370F4A #4A1A0F #224A0F #0F3F4A
split-complementary
#370F4A #3F4A0F #0F4A1A
monochromatic
#130519 #130519 #370F4A #5D197D #8324B0

Accessibility & contrast

On white

15.79
#370F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#370F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F4A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F4A#FFFFFF#000000##FFFFFF
##370F4A1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#082349
Tritanopia (blue-blind)
#351C2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370f4a;
/* rgb */ color: rgb(55, 15, 74);
/* oklch */ color: oklch(26.8% 0.106 312.4);
Tailwind
colors: {
  custom: {
    50: '#70527d',
    500: '#370f4a',
    950: '#000000',
  },
}
SCSS
$custom: #370f4a;
$custom-light: #70527d;
$custom-dark: #000000;
JSON
{
  "hex": "#370f4a",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 280.678,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.268,
    "c": 0.10645,
    "h": 312.4
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#370F4A
secondary
#4B8430
accent
#E93F76
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370F4A

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

Preview Lab → · Contrast checker → · Palette generator →

#370F4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva