#370B40#370B40

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

Color values

HEX#370B40
RGBrgb(55, 11, 64)
HSLhsl(290, 71%, 15%)
HSVhsv(290, 83%, 25%)
CMYKcmyk(14.1%, 82.8%, 0%, 74.9%)
CIE-LABlab(12.10, 29.92, -23.10)
CIE-LCHlch(12.10, 37.80, 322.33°)
OKLaboklab(25.54% 0.0777 -0.0647)
OKLCHoklch(25.54% 0.101 320.2)
XYZxyz(2.6205, 1.4219, 4.9859)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B40 #14400B
analogous
#1C0B40 #370B40 #400B2F
triadic
#370B40 #40370B #0B4037
tetradic
#370B40 #401C0B #14400B #0B2F40
square
#370B40 #401C0B #14400B #0B2F40
split-complementary
#370B40 #2F400B #0B401C
monochromatic
#16041A #16041A #370B40 #641474 #911DA8

Accessibility & contrast

On white

16.35
#370B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370B40
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B40#FFFFFF#000000##FFFFFF
##370B401.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#10213F
Tritanopia (blue-blind)
#371525
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370b40;
/* rgb */ color: rgb(55, 11, 64);
/* oklch */ color: oklch(25.5% 0.101 320.2);
Tailwind
colors: {
  custom: {
    50: '#704f75',
    500: '#370b40',
    950: '#000000',
  },
}
SCSS
$custom: #370b40;
$custom-light: #704f75;
$custom-dark: #000000;
JSON
{
  "hex": "#370b40",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 289.811,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25542,
    "c": 0.10115,
    "h": 320.2
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#370B40
secondary
#387D2A
accent
#ED3A59
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370B40

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

Preview Lab → · Contrast checker → · Palette generator →

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