#370C40#370C40

#370C40 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.100 H 320.1°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#370C40
RGBrgb(55, 12, 64)
HSLhsl(290, 68%, 15%)
HSVhsv(290, 81%, 25%)
CMYKcmyk(14.1%, 81.2%, 0%, 74.9%)
CIE-LABlab(12.26, 29.48, -22.85)
CIE-LCHlch(12.26, 37.30, 322.22°)
OKLaboklab(25.65% 0.0766 -0.064)
OKLCHoklch(25.65% 0.1 320.1)
XYZxyz(2.6323, 1.4455, 4.9898)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C40 #15400C
analogous
#1D0C40 #370C40 #400C2F
triadic
#370C40 #40370C #0C4037
tetradic
#370C40 #401D0C #15400C #0C2F40
square
#370C40 #401D0C #15400C #0C2F40
split-complementary
#370C40 #2F400C #0C401D
monochromatic
#16051A #16051A #370C40 #631674 #901FA7

Accessibility & contrast

On white

16.29
#370C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C40
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C40#FFFFFF#000000##FFFFFF
##370C401.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370c40;
/* rgb */ color: rgb(55, 12, 64);
/* oklch */ color: oklch(25.7% 0.100 320.1);
Tailwind
colors: {
  custom: {
    50: '#705075',
    500: '#370c40',
    950: '#000000',
  },
}
SCSS
$custom: #370c40;
$custom-light: #705075;
$custom-dark: #000000;
JSON
{
  "hex": "#370c40",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 289.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25652,
    "c": 0.09979,
    "h": 320.1
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#370C40
secondary
#3A7C2C
accent
#EB3D5B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370C40

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

Preview Lab → · Contrast checker → · Palette generator →

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