#370D50#370D50

#370D50 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.116 H 309.0°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#370D50
RGBrgb(55, 13, 80)
HSLhsl(278, 72%, 18%)
HSVhsv(278, 84%, 31%)
CMYKcmyk(31.2%, 83.7%, 0%, 68.6%)
CIE-LABlab(13.71, 32.86, -31.65)
CIE-LCHlch(13.71, 45.62, 316.07°)
OKLaboklab(27.09% 0.0728 -0.0898)
OKLCHoklch(27.09% 0.116 309)
XYZxyz(3.1671, 1.6793, 7.7452)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D50 #26500D
analogous
#150D50 #370D50 #500D47
triadic
#370D50 #50370D #0D5037
tetradic
#370D50 #50150D #26500D #0D4750
square
#370D50 #50150D #26500D #0D4750
split-complementary
#370D50 #47500D #0D5015
monochromatic
#12041A #13041B #370D50 #5B1685 #7F1EB9

Accessibility & contrast

On white

15.72
#370D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370D50
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D50#FFFFFF#000000##FFFFFF
##370D501.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#331D2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370d50;
/* rgb */ color: rgb(55, 13, 80);
/* oklch */ color: oklch(27.1% 0.116 309.0);
Tailwind
colors: {
  custom: {
    50: '#715182',
    500: '#370d50',
    950: '#000000',
  },
}
SCSS
$custom: #370d50;
$custom-light: #715182;
$custom-dark: #000000;
JSON
{
  "hex": "#370d50",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 277.612,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27088,
    "c": 0.11564,
    "h": 309
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#370D50
secondary
#518B2E
accent
#EF397D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370D50

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

Preview Lab → · Contrast checker → · Palette generator →

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