#370C41#370C41

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

Color values

HEX#370C41
RGBrgb(55, 12, 65)
HSLhsl(289, 69%, 15%)
HSVhsv(289, 82%, 25%)
CMYKcmyk(15.4%, 81.5%, 0%, 74.5%)
CIE-LABlab(12.33, 29.70, -23.44)
CIE-LCHlch(12.33, 37.84, 321.72°)
OKLaboklab(25.73% 0.0765 -0.0657)
OKLCHoklch(25.73% 0.101 319.3)
XYZxyz(2.6610, 1.4570, 5.1411)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C41 #16410C
analogous
#1C0C41 #370C41 #410C31
triadic
#370C41 #41370C #0C4137
tetradic
#370C41 #411C0C #16410C #0C3141
square
#370C41 #411C0C #16410C #0C3141
split-complementary
#370C41 #31410C #0C411C
monochromatic
#16051A #16051A #370C41 #631675 #8E1FA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##370C41#FFFFFF#000000##FFFFFF
##370C411.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)
#001D42
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#371625
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370c41;
/* rgb */ color: rgb(55, 12, 65);
/* oklch */ color: oklch(25.7% 0.101 319.3);
Tailwind
colors: {
  custom: {
    50: '#705076',
    500: '#370c41',
    950: '#000000',
  },
}
SCSS
$custom: #370c41;
$custom-light: #705076;
$custom-dark: #000000;
JSON
{
  "hex": "#370c41",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 288.679,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2573,
    "c": 0.10084,
    "h": 319.3
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#370C41
secondary
#3B7D2C
accent
#EC3C5D
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370C41

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

Preview Lab → · Contrast checker → · Palette generator →

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