#370F49#370F49

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

Color values

HEX#370F49
RGBrgb(55, 15, 73)
HSLhsl(281, 66%, 17%)
HSVhsv(281, 79%, 29%)
CMYKcmyk(24.7%, 79.5%, 0%, 71.4%)
CIE-LABlab(13.44, 30.21, -27.25)
CIE-LCHlch(13.44, 40.68, 317.94°)
OKLaboklab(26.72% 0.072 -0.0769)
OKLCHoklch(26.72% 0.105 313.1)
XYZxyz(2.9488, 1.6350, 6.4623)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F49 #21490F
analogous
#1A0F49 #370F49 #490F3E
triadic
#370F49 #49370F #0F4937
tetradic
#370F49 #491A0F #21490F #0F3E49
square
#370F49 #491A0F #21490F #0F3E49
split-complementary
#370F49 #3E490F #0F491A
monochromatic
#130519 #130519 #370F49 #5D197C #8324AF

Accessibility & contrast

On white

15.83
#370F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#370F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F49
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F49#FFFFFF#000000##FFFFFF
##370F491.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#0A2348
Tritanopia (blue-blind)
#351C2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370f49;
/* rgb */ color: rgb(55, 15, 73);
/* oklch */ color: oklch(26.7% 0.105 313.1);
Tailwind
colors: {
  custom: {
    50: '#70527c',
    500: '#370f49',
    950: '#000000',
  },
}
SCSS
$custom: #370f49;
$custom-light: #70527c;
$custom-dark: #000000;
JSON
{
  "hex": "#370f49",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 281.379,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26717,
    "c": 0.10533,
    "h": 313.1
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#370F49
secondary
#4A8330
accent
#E93F74
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370F49

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

Preview Lab → · Contrast checker → · Palette generator →

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