#370A3F#370A3F

#370A3F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.101 H 321.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#370A3F
RGBrgb(55, 10, 63)
HSLhsl(291, 73%, 14%)
HSVhsv(291, 84%, 25%)
CMYKcmyk(12.7%, 84.1%, 0%, 75.3%)
CIE-LABlab(11.88, 30.12, -22.75)
CIE-LCHlch(11.88, 37.75, 322.94°)
OKLaboklab(25.36% 0.0789 -0.0637)
OKLCHoklch(25.36% 0.101 321.1)
XYZxyz(2.5812, 1.3883, 4.8337)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370A3F #123F0A
analogous
#1D0A3F #370A3F #3F0A2D
triadic
#370A3F #3F370A #0A3F37
tetradic
#370A3F #3F1D0A #123F0A #0A2D3F
square
#370A3F #3F1D0A #123F0A #0A2D3F
split-complementary
#370A3F #2D3F0A #0A3F1D
monochromatic
#17041A #17041A #370A3F #651274 #931BA9

Accessibility & contrast

On white

16.44
#370A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370A3F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370A3F#FFFFFF#000000##FFFFFF
##370A3F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#10213E
Tritanopia (blue-blind)
#371424
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370a3f;
/* rgb */ color: rgb(55, 10, 63);
/* oklch */ color: oklch(25.4% 0.101 321.1);
Tailwind
colors: {
  custom: {
    50: '#704f74',
    500: '#370a3f',
    950: '#000000',
  },
}
SCSS
$custom: #370a3f;
$custom-light: #704f74;
$custom-dark: #000000;
JSON
{
  "hex": "#370a3f",
  "rgb": {
    "r": 55,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 290.943,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2536,
    "c": 0.10143,
    "h": 321.1
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#370A3F
secondary
#357C29
accent
#EF3854
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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