#370A40#370A40

#370A40 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.102 H 320.3°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#370A40
RGBrgb(55, 10, 64)
HSLhsl(290, 73%, 15%)
HSVhsv(290, 84%, 25%)
CMYKcmyk(14.1%, 84.4%, 0%, 74.9%)
CIE-LABlab(11.96, 30.34, -23.34)
CIE-LCHlch(11.96, 38.28, 322.43°)
OKLaboklab(25.44% 0.0788 -0.0654)
OKLCHoklch(25.44% 0.102 320.3)
XYZxyz(2.6094, 1.3996, 4.9822)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370A40 #13400A
analogous
#1C0A40 #370A40 #400A2E
triadic
#370A40 #40370A #0A4037
tetradic
#370A40 #401C0A #13400A #0A2E40
square
#370A40 #401C0A #13400A #0A2E40
split-complementary
#370A40 #2E400A #0A401C
monochromatic
#17041A #17041A #370A40 #641275 #921BAA

Accessibility & contrast

On white

16.41
#370A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370A40
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370A40#FFFFFF#000000##FFFFFF
##370A401.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#0F213F
Tritanopia (blue-blind)
#371524
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370a40;
/* rgb */ color: rgb(55, 10, 64);
/* oklch */ color: oklch(25.4% 0.102 320.3);
Tailwind
colors: {
  custom: {
    50: '#704f75',
    500: '#370a40',
    950: '#000000',
  },
}
SCSS
$custom: #370a40;
$custom-light: #704f75;
$custom-dark: #000000;
JSON
{
  "hex": "#370a40",
  "rgb": {
    "r": 55,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 290,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25437,
    "c": 0.10244,
    "h": 320.3
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#370A40
secondary
#377D29
accent
#F03857
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370A40

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

Preview Lab → · Contrast checker → · Palette generator →

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