#370D55#370D55

#370D55 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.121 H 306.2°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#370D55
RGBrgb(55, 13, 85)
HSLhsl(275, 73%, 19%)
HSVhsv(275, 85%, 33%)
CMYKcmyk(35.3%, 84.7%, 0%, 66.7%)
CIE-LABlab(14.15, 34.12, -34.34)
CIE-LCHlch(14.15, 48.41, 314.82°)
OKLaboklab(27.54% 0.0715 -0.0977)
OKLCHoklch(27.54% 0.121 306.2)
XYZxyz(3.3588, 1.7560, 8.7546)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D55 #2B550D
analogous
#130D55 #370D55 #550D4F
triadic
#370D55 #55370D #0D5537
tetradic
#370D55 #55130D #2B550D #0D4F55
square
#370D55 #55130D #2B550D #0D4F55
split-complementary
#370D55 #4F550D #0D5513
monochromatic
#11041B #150520 #370D55 #59158A #7C1DBF

Accessibility & contrast

On white

15.54
#370D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#370D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D55
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D55#FFFFFF#000000##FFFFFF
##370D551.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#322031
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370d55;
/* rgb */ color: rgb(55, 13, 85);
/* oklch */ color: oklch(27.5% 0.121 306.2);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#370d55',
    950: '#000000',
  },
}
SCSS
$custom: #370d55;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#370d55",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 275,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2754,
    "c": 0.12111,
    "h": 306.2
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#370D55
secondary
#57902E
accent
#F03885
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370D55

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

Preview Lab → · Contrast checker → · Palette generator →

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