#370C45#370C45

#370C45 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.105 H 316.3°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#370C45
RGBrgb(55, 12, 69)
HSLhsl(285, 70%, 16%)
HSVhsv(285, 83%, 27%)
CMYKcmyk(20.3%, 82.6%, 0%, 72.9%)
CIE-LABlab(12.64, 30.62, -25.76)
CIE-LCHlch(12.64, 40.02, 319.93°)
OKLaboklab(26.05% 0.076 -0.0725)
OKLCHoklch(26.05% 0.105 316.3)
XYZxyz(2.7810, 1.5050, 5.7731)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C45 #1A450C
analogous
#1A0C45 #370C45 #450C36
triadic
#370C45 #45370C #0C4537
tetradic
#370C45 #451A0C #1A450C #0C3645
square
#370C45 #451A0C #1A450C #0C3645
split-complementary
#370C45 #36450C #0C451A
monochromatic
#15051A #15051A #370C45 #611579 #8A1EAD

Accessibility & contrast

On white

16.14
#370C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C45
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C45#FFFFFF#000000##FFFFFF
##370C451.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#0C2244
Tritanopia (blue-blind)
#361828
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370c45;
/* rgb */ color: rgb(55, 12, 69);
/* oklch */ color: oklch(26.0% 0.105 316.3);
Tailwind
colors: {
  custom: {
    50: '#705079',
    500: '#370c45',
    950: '#000000',
  },
}
SCSS
$custom: #370c45;
$custom-light: #705079;
$custom-dark: #000000;
JSON
{
  "hex": "#370c45",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 285.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26047,
    "c": 0.10504,
    "h": 316.3
  },
  "luminance": 0.01505
}

Semantic roles & 50–950 ramp

primary
#370C45
secondary
#41812C
accent
#ED3B66
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370C45

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

Preview Lab → · Contrast checker → · Palette generator →

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