#370F4B#370F4B

#370F4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.108 H 311.8°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#370F4B
RGBrgb(55, 15, 75)
HSLhsl(280, 67%, 18%)
HSVhsv(280, 80%, 29%)
CMYKcmyk(26.7%, 80%, 0%, 70.6%)
CIE-LABlab(13.60, 30.70, -28.38)
CIE-LCHlch(13.60, 41.80, 317.25°)
OKLaboklab(26.88% 0.0716 -0.0802)
OKLCHoklch(26.88% 0.108 311.8)
XYZxyz(3.0161, 1.6620, 6.8172)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F4B #234B0F
analogous
#190F4B #370F4B #4B0F41
triadic
#370F4B #4B370F #0F4B37
tetradic
#370F4B #4B190F #234B0F #0F414B
square
#370F4B #4B190F #234B0F #0F414B
split-complementary
#370F4B #414B0F #0F4B19
monochromatic
#13051A #13051A #370F4B #5C197E #8223B1

Accessibility & contrast

On white

15.76
#370F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F4B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F4B#FFFFFF#000000##FFFFFF
##370F4B1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#07244A
Tritanopia (blue-blind)
#351C2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370f4b;
/* rgb */ color: rgb(55, 15, 75);
/* oklch */ color: oklch(26.9% 0.108 311.8);
Tailwind
colors: {
  custom: {
    50: '#71527e',
    500: '#370f4b',
    950: '#000000',
  },
}
SCSS
$custom: #370f4b;
$custom-light: #71527e;
$custom-dark: #000000;
JSON
{
  "hex": "#370f4b",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 280,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26883,
    "c": 0.10757,
    "h": 311.8
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#370F4B
secondary
#4D8530
accent
#EA3E77
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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