#54299C#54299C

#54299C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.174 H 294.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#54299C
RGBrgb(84, 41, 156)
HSLhsl(262, 58%, 39%)
HSVhsv(262, 74%, 61%)
CMYKcmyk(46.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(29.08, 45.19, -55.28)
CIE-LCHlch(29.08, 71.40, 309.27°)
OKLaboklab(40.88% 0.0721 -0.1584)
OKLCHoklch(40.88% 0.174 294.5)
XYZxyz(10.4482, 5.8707, 32.0287)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54299C #719C29
analogous
#29379C #54299C #8D299C
triadic
#54299C #9C5429 #299C54
tetradic
#54299C #9C2937 #719C29 #299C8D
square
#54299C #9C2937 #719C29 #299C8D
split-complementary
#54299C #9C8D29 #379C29
monochromatic
#20103B #3A1C6C #54299C #6F38CB #9268D7

Accessibility & contrast

On white

9.66
#54299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#54299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54299C
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54299C#FFFFFF#000000##FFFFFF
##54299C1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#3F4760
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #54299c;
/* rgb */ color: rgb(84, 41, 156);
/* oklch */ color: oklch(40.9% 0.174 294.5);
Tailwind
colors: {
  custom: {
    50: '#8b67ba',
    500: '#54299c',
    950: '#000000',
  },
}
SCSS
$custom: #54299c;
$custom-light: #8b67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54299c",
  "rgb": {
    "r": 84,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 262.435,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.17398,
    "h": 294.5
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#54299C
secondary
#9CBE63
accent
#E246A7
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54299C

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

Preview Lab → · Contrast checker → · Palette generator →

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