#370D43#370D43

#370D43 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.102 H 317.7°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#370D43
RGBrgb(55, 13, 67)
HSLhsl(287, 68%, 16%)
HSVhsv(287, 81%, 26%)
CMYKcmyk(17.9%, 80.6%, 0%, 73.7%)
CIE-LABlab(12.64, 29.71, -24.35)
CIE-LCHlch(12.64, 38.41, 320.66°)
OKLaboklab(26% 0.0751 -0.0684)
OKLCHoklch(26% 0.102 317.7)
XYZxyz(2.7324, 1.5054, 5.4557)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D43 #19430D
analogous
#1C0D43 #370D43 #430D34
triadic
#370D43 #43370D #0D4337
tetradic
#370D43 #431C0D #19430D #0D3443
square
#370D43 #431C0D #19430D #0D3443
split-complementary
#370D43 #34430D #0D431C
monochromatic
#15051A #15051A #370D43 #611776 #8B21AA

Accessibility & contrast

On white

16.14
#370D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D43
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D43#FFFFFF#000000##FFFFFF
##370D431.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E45
Deuteranopia (green-blind)
#0F2242
Tritanopia (blue-blind)
#371827
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370d43;
/* rgb */ color: rgb(55, 13, 67);
/* oklch */ color: oklch(26.0% 0.102 317.7);
Tailwind
colors: {
  custom: {
    50: '#705077',
    500: '#370d43',
    950: '#000000',
  },
}
SCSS
$custom: #370d43;
$custom-light: #705077;
$custom-dark: #000000;
JSON
{
  "hex": "#370d43",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 286.667,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25999,
    "c": 0.10157,
    "h": 317.7
  },
  "luminance": 0.01505
}

Semantic roles & 50–950 ramp

primary
#370D43
secondary
#3F7E2D
accent
#EA3D64
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370D43

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

Preview Lab → · Contrast checker → · Palette generator →

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