#370A45#370A45

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

Color values

HEX#370A45
RGBrgb(55, 10, 69)
HSLhsl(286, 75%, 15%)
HSVhsv(286, 86%, 27%)
CMYKcmyk(20.3%, 85.5%, 0%, 72.9%)
CIE-LABlab(12.35, 31.47, -26.23)
CIE-LCHlch(12.35, 40.97, 320.19°)
OKLaboklab(25.84% 0.0781 -0.0739)
OKLCHoklch(25.84% 0.108 316.6)
XYZxyz(2.7581, 1.4591, 5.7654)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370A45 #18450A
analogous
#190A45 #370A45 #450A35
triadic
#370A45 #45370A #0A4537
tetradic
#370A45 #45190A #18450A #0A3545
square
#370A45 #45190A #18450A #0A3545
split-complementary
#370A45 #35450A #0A4519
monochromatic
#15041B #15041B #370A45 #62127A #8C19B0

Accessibility & contrast

On white

16.26
#370A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370A45
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370A45#FFFFFF#000000##FFFFFF
##370A451.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E47
Deuteranopia (green-blind)
#0A2144
Tritanopia (blue-blind)
#361727
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370a45;
/* rgb */ color: rgb(55, 10, 69);
/* oklch */ color: oklch(25.8% 0.108 316.6);
Tailwind
colors: {
  custom: {
    50: '#704f79',
    500: '#370a45',
    950: '#000000',
  },
}
SCSS
$custom: #370a45;
$custom-light: #704f79;
$custom-dark: #000000;
JSON
{
  "hex": "#370a45",
  "rgb": {
    "r": 55,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 285.763,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25839,
    "c": 0.10754,
    "h": 316.6
  },
  "luminance": 0.01459
}

Semantic roles & 50–950 ramp

primary
#370A45
secondary
#3E8229
accent
#F13663
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370A45

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

Preview Lab → · Contrast checker → · Palette generator →

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