#370E4A#370E4A

#370E4A is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.108 H 312.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#370E4A
RGBrgb(55, 14, 74)
HSLhsl(281, 68%, 17%)
HSVhsv(281, 81%, 29%)
CMYKcmyk(25.7%, 81.1%, 0%, 71%)
CIE-LABlab(13.36, 30.92, -28.08)
CIE-LCHlch(13.36, 41.77, 317.75°)
OKLaboklab(26.68% 0.073 -0.0794)
OKLCHoklch(26.68% 0.108 312.6)
XYZxyz(2.9684, 1.6208, 6.6337)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E4A #214A0E
analogous
#190E4A #370E4A #4A0E3F
triadic
#370E4A #4A370E #0E4A37
tetradic
#370E4A #4A190E #214A0E #0E3F4A
square
#370E4A #4A190E #214A0E #0E3F4A
split-complementary
#370E4A #3F4A0E #0E4A19
monochromatic
#13051A #13051A #370E4A #5D187D #8421B1

Accessibility & contrast

On white

15.86
#370E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#370E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370E4A
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E4A#FFFFFF#000000##FFFFFF
##370E4A1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#072349
Tritanopia (blue-blind)
#351B2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370e4a;
/* rgb */ color: rgb(55, 14, 74);
/* oklch */ color: oklch(26.7% 0.108 312.6);
Tailwind
colors: {
  custom: {
    50: '#71517d',
    500: '#370e4a',
    950: '#000000',
  },
}
SCSS
$custom: #370e4a;
$custom-light: #71517d;
$custom-dark: #000000;
JSON
{
  "hex": "#370e4a",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 281,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26682,
    "c": 0.10781,
    "h": 312.6
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#370E4A
secondary
#4A852F
accent
#EB3D74
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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