#370C46#370C46

#370C46 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.106 H 315.6°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#370C46
RGBrgb(55, 12, 70)
HSLhsl(284, 71%, 16%)
HSVhsv(284, 83%, 27%)
CMYKcmyk(21.4%, 82.9%, 0%, 72.5%)
CIE-LABlab(12.72, 30.86, -26.33)
CIE-LCHlch(12.72, 40.56, 319.53°)
OKLaboklab(26.13% 0.0758 -0.0742)
OKLCHoklch(26.13% 0.106 315.6)
XYZxyz(2.8123, 1.5175, 5.9379)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C46 #1B460C
analogous
#1A0C46 #370C46 #460C38
triadic
#370C46 #46370C #0C4637
tetradic
#370C46 #461A0C #1B460C #0C3846
square
#370C46 #461A0C #1B460C #0C3846
split-complementary
#370C46 #38460C #0C461A
monochromatic
#15041A #15041A #370C46 #60157A #891EAE

Accessibility & contrast

On white

16.11
#370C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370C46
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C46#FFFFFF#000000##FFFFFF
##370C461.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#0B2245
Tritanopia (blue-blind)
#361928
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370c46;
/* rgb */ color: rgb(55, 12, 70);
/* oklch */ color: oklch(26.1% 0.106 315.6);
Tailwind
colors: {
  custom: {
    50: '#70507a',
    500: '#370c46',
    950: '#000000',
  },
}
SCSS
$custom: #370c46;
$custom-light: #70507a;
$custom-dark: #000000;
JSON
{
  "hex": "#370c46",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 284.483,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26128,
    "c": 0.1061,
    "h": 315.6
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#370C46
secondary
#42822C
accent
#ED3A69
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370C46

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

Preview Lab → · Contrast checker → · Palette generator →

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