#370D54#370D54

#370D54 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.120 H 306.7°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#370D54
RGBrgb(55, 13, 84)
HSLhsl(275, 73%, 19%)
HSVhsv(275, 85%, 33%)
CMYKcmyk(34.5%, 84.5%, 0%, 67.1%)
CIE-LABlab(14.06, 33.86, -33.81)
CIE-LCHlch(14.06, 47.85, 315.05°)
OKLaboklab(27.45% 0.0718 -0.0962)
OKLCHoklch(27.45% 0.12 306.7)
XYZxyz(3.3194, 1.7402, 8.5468)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D54 #2A540D
analogous
#140D54 #370D54 #540D4E
triadic
#370D54 #54370D #0D5437
tetradic
#370D54 #54140D #2A540D #0D4E54
square
#370D54 #54140D #2A540D #0D4E54
split-complementary
#370D54 #4E540D #0D5414
monochromatic
#11041A #14051F #370D54 #5A1589 #7C1DBE

Accessibility & contrast

On white

15.58
#370D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370D54
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D54#FFFFFF#000000##FFFFFF
##370D541.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#321F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370d54;
/* rgb */ color: rgb(55, 13, 84);
/* oklch */ color: oklch(27.4% 0.120 306.7);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#370d54',
    950: '#000000',
  },
}
SCSS
$custom: #370d54;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#370d54",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 275.493,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27448,
    "c": 0.12,
    "h": 306.7
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#370D54
secondary
#568F2E
accent
#F03883
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370D54

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

Preview Lab → · Contrast checker → · Palette generator →

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