#370A41#370A41

#370A41 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.103 H 319.6°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#370A41
RGBrgb(55, 10, 65)
HSLhsl(289, 73%, 15%)
HSVhsv(289, 85%, 25%)
CMYKcmyk(15.4%, 84.6%, 0%, 74.5%)
CIE-LABlab(12.03, 30.56, -23.92)
CIE-LCHlch(12.03, 38.81, 321.95°)
OKLaboklab(25.52% 0.0787 -0.0671)
OKLCHoklch(25.52% 0.103 319.6)
XYZxyz(2.6381, 1.4111, 5.1334)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370A41 #14410A
analogous
#1C0A41 #370A41 #410A30
triadic
#370A41 #41370A #0A4137
tetradic
#370A41 #411C0A #14410A #0A3041
square
#370A41 #411C0A #14410A #0A3041
split-complementary
#370A41 #30410A #0A411C
monochromatic
#16041B #16041B #370A41 #641276 #911AAB

Accessibility & contrast

On white

16.38
#370A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370A41
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370A41#FFFFFF#000000##FFFFFF
##370A411.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#0F2140
Tritanopia (blue-blind)
#371525
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370a41;
/* rgb */ color: rgb(55, 10, 65);
/* oklch */ color: oklch(25.5% 0.103 319.6);
Tailwind
colors: {
  custom: {
    50: '#704f76',
    500: '#370a41',
    950: '#000000',
  },
}
SCSS
$custom: #370a41;
$custom-light: #704f76;
$custom-dark: #000000;
JSON
{
  "hex": "#370a41",
  "rgb": {
    "r": 55,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 289.091,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25516,
    "c": 0.10346,
    "h": 319.6
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#370A41
secondary
#387E29
accent
#F03859
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370A41

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

Preview Lab → · Contrast checker → · Palette generator →

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