#370D4D#370D4D

#370D4D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.112 H 310.8°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#370D4D
RGBrgb(55, 13, 77)
HSLhsl(279, 71%, 18%)
HSVhsv(279, 83%, 30%)
CMYKcmyk(28.6%, 83.1%, 0%, 69.8%)
CIE-LABlab(13.45, 32.11, -30.01)
CIE-LCHlch(13.45, 43.95, 316.94°)
OKLaboklab(26.83% 0.0735 -0.085)
OKLCHoklch(26.83% 0.112 310.8)
XYZxyz(3.0588, 1.6360, 7.1744)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D4D #234D0D
analogous
#170D4D #370D4D #4D0D43
triadic
#370D4D #4D370D #0D4D37
tetradic
#370D4D #4D170D #234D0D #0D434D
square
#370D4D #4D170D #234D0D #0D434D
split-complementary
#370D4D #434D0D #0D4D17
monochromatic
#13041A #13041A #370D4D #5C1681 #821FB6

Accessibility & contrast

On white

15.82
#370D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370D4D
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D4D#FFFFFF#000000##FFFFFF
##370D4D1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#02234C
Tritanopia (blue-blind)
#341C2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370d4d;
/* rgb */ color: rgb(55, 13, 77);
/* oklch */ color: oklch(26.8% 0.112 310.8);
Tailwind
colors: {
  custom: {
    50: '#71517f',
    500: '#370d4d',
    950: '#000000',
  },
}
SCSS
$custom: #370d4d;
$custom-light: #71517f;
$custom-dark: #000000;
JSON
{
  "hex": "#370d4d",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 279.375,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26826,
    "c": 0.11237,
    "h": 310.8
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#370D4D
secondary
#4D882E
accent
#EE3A78
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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