#370D51#370D51

#370D51 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.117 H 308.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#370D51
RGBrgb(55, 13, 81)
HSLhsl(277, 72%, 18%)
HSVhsv(277, 84%, 32%)
CMYKcmyk(32.1%, 84%, 0%, 68.2%)
CIE-LABlab(13.79, 33.11, -32.19)
CIE-LCHlch(13.79, 46.18, 315.80°)
OKLaboklab(27.18% 0.0726 -0.0914)
OKLCHoklch(27.18% 0.117 308.4)
XYZxyz(3.2044, 1.6942, 7.9412)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D51 #27510D
analogous
#150D51 #370D51 #510D49
triadic
#370D51 #51370D #0D5137
tetradic
#370D51 #51150D #27510D #0D4951
square
#370D51 #51150D #27510D #0D4951
split-complementary
#370D51 #49510D #0D5115
monochromatic
#12041A #13051C #370D51 #5B1586 #7F1EBA

Accessibility & contrast

On white

15.69
#370D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#370D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D51
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D51#FFFFFF#000000##FFFFFF
##370D511.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#331E2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370d51;
/* rgb */ color: rgb(55, 13, 81);
/* oklch */ color: oklch(27.2% 0.117 308.4);
Tailwind
colors: {
  custom: {
    50: '#715182',
    500: '#370d51',
    950: '#000000',
  },
}
SCSS
$custom: #370d51;
$custom-light: #715182;
$custom-dark: #000000;
JSON
{
  "hex": "#370d51",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 277.059,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27177,
    "c": 0.11673,
    "h": 308.4
  },
  "luminance": 0.01694
}

Semantic roles & 50–950 ramp

primary
#370D51
secondary
#528C2E
accent
#EF397E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370D51

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

Preview Lab → · Contrast checker → · Palette generator →

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