#370C42#370C42

#370C42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.102 H 318.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#370C42
RGBrgb(55, 12, 66)
HSLhsl(288, 69%, 15%)
HSVhsv(288, 82%, 26%)
CMYKcmyk(16.7%, 81.8%, 0%, 74.1%)
CIE-LABlab(12.41, 29.93, -24.02)
CIE-LCHlch(12.41, 38.38, 321.25°)
OKLaboklab(25.81% 0.0764 -0.0674)
OKLCHoklch(25.81% 0.102 318.6)
XYZxyz(2.6903, 1.4686, 5.2950)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C42 #17420C
analogous
#1C0C42 #370C42 #420C32
triadic
#370C42 #42370C #0C4237
tetradic
#370C42 #421C0C #17420C #0C3242
square
#370C42 #421C0C #17420C #0C3242
split-complementary
#370C42 #32420C #0C421C
monochromatic
#16051A #16051A #370C42 #621576 #8D1FAA

Accessibility & contrast

On white

16.23
#370C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C42
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C42#FFFFFF#000000##FFFFFF
##370C421.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#371726
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370c42;
/* rgb */ color: rgb(55, 12, 66);
/* oklch */ color: oklch(25.8% 0.102 318.6);
Tailwind
colors: {
  custom: {
    50: '#705077',
    500: '#370c42',
    950: '#000000',
  },
}
SCSS
$custom: #370c42;
$custom-light: #705077;
$custom-dark: #000000;
JSON
{
  "hex": "#370c42",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 287.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25808,
    "c": 0.10188,
    "h": 318.6
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#370C42
secondary
#3D7E2C
accent
#EC3C60
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370C42

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

Preview Lab → · Contrast checker → · Palette generator →

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