#54379D#54379D

#54379D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 42.9% C 0.157 H 291.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#54379D
RGBrgb(84, 55, 157)
HSLhsl(257, 48%, 42%)
HSVhsv(257, 65%, 62%)
CMYKcmyk(46.5%, 65%, 0%, 38.4%)
CIE-LABlab(31.92, 37.88, -51.26)
CIE-LCHlch(31.92, 63.74, 306.46°)
OKLaboklab(42.94% 0.0575 -0.1466)
OKLCHoklch(42.94% 0.157 291.4)
XYZxyz(11.1064, 7.0511, 32.6676)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54379D #809D37
analogous
#374D9D #54379D #87379D
triadic
#54379D #9D5437 #379D54
tetradic
#54379D #9D374D #809D37 #379D87
square
#54379D #9D374D #809D37 #379D87
split-complementary
#54379D #9D8737 #4D9D37
monochromatic
#241742 #3C2770 #54379D #7050C2 #957DD1

Accessibility & contrast

On white

8.71
#54379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#54379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54379D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54379D#FFFFFF#000000##FFFFFF
##54379D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#3E4F65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #54379d;
/* rgb */ color: rgb(84, 55, 157);
/* oklch */ color: oklch(42.9% 0.157 291.4);
Tailwind
colors: {
  custom: {
    50: '#8a6fbb',
    500: '#54379d',
    950: '#000000',
  },
}
SCSS
$custom: #54379d;
$custom-light: #8a6fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#54379d",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 257.059,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.15748,
    "h": 291.4
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#54379D
secondary
#A7BB75
accent
#D850B1
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #54379D

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

Preview Lab → · Contrast checker → · Palette generator →

#54379D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva