#370B4D#370B4D

#370B4D is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.115 H 311.1°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#370B4D
RGBrgb(55, 11, 77)
HSLhsl(280, 75%, 17%)
HSVhsv(280, 86%, 30%)
CMYKcmyk(28.6%, 85.7%, 0%, 69.8%)
CIE-LABlab(13.15, 32.95, -30.48)
CIE-LCHlch(13.15, 44.89, 317.23°)
OKLaboklab(26.62% 0.0755 -0.0864)
OKLCHoklch(26.62% 0.115 311.1)
XYZxyz(3.0345, 1.5875, 7.1663)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B4D #214D0B
analogous
#160B4D #370B4D #4D0B42
triadic
#370B4D #4D370B #0B4D37
tetradic
#370B4D #4D160B #214D0B #0B424D
square
#370B4D #4D160B #214D0B #0B424D
split-complementary
#370B4D #424D0B #0B4D16
monochromatic
#13041B #13041B #370B4D #5D1383 #841AB8

Accessibility & contrast

On white

15.94
#370B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370B4D
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B4D#FFFFFF#000000##FFFFFF
##370B4D1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#00234C
Tritanopia (blue-blind)
#341B2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370b4d;
/* rgb */ color: rgb(55, 11, 77);
/* oklch */ color: oklch(26.6% 0.115 311.1);
Tailwind
colors: {
  custom: {
    50: '#71507f',
    500: '#370b4d',
    950: '#000000',
  },
}
SCSS
$custom: #370b4d;
$custom-light: #71507f;
$custom-dark: #000000;
JSON
{
  "hex": "#370b4d",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26619,
    "c": 0.11474,
    "h": 311.1
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#370B4D
secondary
#4A892B
accent
#F23675
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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