#370F54#370F54

#370F54 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.118 H 306.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#370F54
RGBrgb(55, 15, 84)
HSLhsl(275, 70%, 19%)
HSVhsv(275, 82%, 33%)
CMYKcmyk(34.5%, 82.1%, 0%, 67.1%)
CIE-LABlab(14.37, 32.98, -33.31)
CIE-LCHlch(14.37, 46.88, 314.72°)
OKLaboklab(27.66% 0.0698 -0.0947)
OKLCHoklch(27.66% 0.118 306.4)
XYZxyz(3.3463, 1.7940, 8.5558)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F54 #2C540F
analogous
#150F54 #370F54 #540F4F
triadic
#370F54 #54370F #0F5437
tetradic
#370F54 #54150F #2C540F #0F4F54
square
#370F54 #54150F #2C540F #0F4F54
split-complementary
#370F54 #4F540F #0F5415
monochromatic
#11051A #150620 #370F54 #591888 #7B22BC

Accessibility & contrast

On white

15.45
#370F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#370F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F54
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F54#FFFFFF#000000##FFFFFF
##370F541.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370f54;
/* rgb */ color: rgb(55, 15, 84);
/* oklch */ color: oklch(27.7% 0.118 306.4);
Tailwind
colors: {
  custom: {
    50: '#715285',
    500: '#370f54',
    950: '#000000',
  },
}
SCSS
$custom: #370f54;
$custom-light: #715285;
$custom-dark: #000000;
JSON
{
  "hex": "#370f54",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 274.783,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27664,
    "c": 0.11766,
    "h": 306.4
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#370F54
secondary
#588E31
accent
#ED3B86
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F54

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

Preview Lab → · Contrast checker → · Palette generator →

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