#54199C#54199C

#54199C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.190 H 296.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#54199C
RGBrgb(84, 25, 156)
HSLhsl(267, 72%, 35%)
HSVhsv(267, 84%, 61%)
CMYKcmyk(46.2%, 84%, 0%, 38.8%)
CIE-LABlab(26.68, 52.11, -59.22)
CIE-LCHlch(26.68, 78.88, 311.34°)
OKLaboklab(39.2% 0.0849 -0.1698)
OKLCHoklch(39.2% 0.19 296.6)
XYZxyz(10.0029, 4.9801, 31.8803)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54199C #619C19
analogous
#191F9C #54199C #95199C
triadic
#54199C #9C5419 #199C54
tetradic
#54199C #9C191F #619C19 #199C95
square
#54199C #9C191F #619C19 #199C95
split-complementary
#54199C #9C9519 #1F9C19
monochromatic
#1B0833 #381167 #54199C #7021D1 #904DE2

Accessibility & contrast

On white

10.52
#54199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#54199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54199C
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54199C#FFFFFF#000000##FFFFFF
##54199C1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#40405C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #54199c;
/* rgb */ color: rgb(84, 25, 156);
/* oklch */ color: oklch(39.2% 0.190 296.6);
Tailwind
colors: {
  custom: {
    50: '#8c5fba',
    500: '#54199c',
    950: '#000000',
  },
}
SCSS
$custom: #54199c;
$custom-light: #8c5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#54199c",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 267.023,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.392,
    "c": 0.18982,
    "h": 296.6
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#54199C
secondary
#8EC44C
accent
#EF399D
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #54199C

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

Preview Lab → · Contrast checker → · Palette generator →

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