#370D3F#370D3F

#370D3F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.097 H 320.8°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#370D3F
RGBrgb(55, 13, 63)
HSLhsl(290, 66%, 15%)
HSVhsv(290, 79%, 25%)
CMYKcmyk(12.7%, 79.4%, 0%, 75.3%)
CIE-LABlab(12.35, 28.79, -22.00)
CIE-LCHlch(12.35, 36.24, 322.62°)
OKLaboklab(25.69% 0.0754 -0.0615)
OKLCHoklch(25.69% 0.097 320.8)
XYZxyz(2.6166, 1.4591, 4.8455)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D3F #153F0D
analogous
#1E0D3F #370D3F #3F0D2E
triadic
#370D3F #3F370D #0D3F37
tetradic
#370D3F #3F1E0D #153F0D #0D2E3F
square
#370D3F #3F1E0D #153F0D #0D2E3F
split-complementary
#370D3F #2E3F0D #0D3F1E
monochromatic
#160519 #160519 #370D3F #631772 #9022A4

Accessibility & contrast

On white

16.26
#370D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#370D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D3F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D3F#FFFFFF#000000##FFFFFF
##370D3F1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#12223E
Tritanopia (blue-blind)
#371625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370d3f;
/* rgb */ color: rgb(55, 13, 63);
/* oklch */ color: oklch(25.7% 0.097 320.8);
Tailwind
colors: {
  custom: {
    50: '#705074',
    500: '#370d3f',
    950: '#000000',
  },
}
SCSS
$custom: #370d3f;
$custom-light: #705074;
$custom-dark: #000000;
JSON
{
  "hex": "#370d3f",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 290.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25692,
    "c": 0.09732,
    "h": 320.8
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#370D3F
secondary
#3A7B2D
accent
#E93F5A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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