#370E54#370E54

#370E54 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.119 H 306.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#370E54
RGBrgb(55, 14, 84)
HSLhsl(275, 71%, 19%)
HSVhsv(275, 83%, 33%)
CMYKcmyk(34.5%, 83.3%, 0%, 67.1%)
CIE-LABlab(14.21, 33.43, -33.56)
CIE-LCHlch(14.21, 47.37, 314.89°)
OKLaboklab(27.55% 0.0708 -0.0955)
OKLCHoklch(27.55% 0.119 306.6)
XYZxyz(3.3325, 1.7664, 8.5512)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E54 #2B540E
analogous
#140E54 #370E54 #540E4E
triadic
#370E54 #54370E #0E5437
tetradic
#370E54 #54140E #2B540E #0E4E54
square
#370E54 #54140E #2B540E #0E4E54
split-complementary
#370E54 #4E540E #0E5414
monochromatic
#11041A #150520 #370E54 #591788 #7C1FBD

Accessibility & contrast

On white

15.52
#370E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E54
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E54#FFFFFF#000000##FFFFFF
##370E541.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370e54;
/* rgb */ color: rgb(55, 14, 84);
/* oklch */ color: oklch(27.6% 0.119 306.6);
Tailwind
colors: {
  custom: {
    50: '#715285',
    500: '#370e54',
    950: '#000000',
  },
}
SCSS
$custom: #370e54;
$custom-light: #715285;
$custom-dark: #000000;
JSON
{
  "hex": "#370e54",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 275.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27554,
    "c": 0.11886,
    "h": 306.6
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#370E54
secondary
#578E2F
accent
#EE3A84
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370E54

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

Preview Lab → · Contrast checker → · Palette generator →

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