#54199E#54199E

#54199E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.4% C 0.192 H 296.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#54199E
RGBrgb(84, 25, 158)
HSLhsl(267, 73%, 36%)
HSVhsv(267, 84%, 62%)
CMYKcmyk(46.8%, 84.2%, 0%, 38%)
CIE-LABlab(26.87, 52.61, -60.13)
CIE-LCHlch(26.87, 79.89, 311.18°)
OKLaboklab(39.39% 0.0842 -0.1724)
OKLCHoklch(39.39% 0.192 296)
XYZxyz(10.1737, 5.0484, 32.7795)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54199E #639E19
analogous
#19209E #54199E #96199E
triadic
#54199E #9E5419 #199E54
tetradic
#54199E #9E1920 #639E19 #199E96
square
#54199E #9E1920 #639E19 #199E96
split-complementary
#54199E #9E9619 #209E19
monochromatic
#1C0834 #381169 #54199E #7021D3 #904EE3

Accessibility & contrast

On white

10.45
#54199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#54199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54199E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54199E#FFFFFF#000000##FFFFFF
##54199E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#3F415E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #54199e;
/* rgb */ color: rgb(84, 25, 158);
/* oklch */ color: oklch(39.4% 0.192 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c5fbc',
    500: '#54199e',
    950: '#000000',
  },
}
SCSS
$custom: #54199e;
$custom-light: #8c5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#54199e",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 266.617,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.19187,
    "h": 296
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#54199E
secondary
#90C54E
accent
#EF389E
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #54199E

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

Preview Lab → · Contrast checker → · Palette generator →

#54199E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva