#54299B#54299B

#54299B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.173 H 294.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#54299B
RGBrgb(84, 41, 155)
HSLhsl(263, 58%, 38%)
HSVhsv(263, 74%, 61%)
CMYKcmyk(45.8%, 73.5%, 0%, 39.2%)
CIE-LABlab(29.00, 44.92, -54.81)
CIE-LCHlch(29.00, 70.87, 309.33°)
OKLaboklab(40.79% 0.0723 -0.157)
OKLCHoklch(40.79% 0.173 294.7)
XYZxyz(10.3639, 5.8370, 31.5846)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54299B #709B29
analogous
#29379B #54299B #8D299B
triadic
#54299B #9B5429 #299B54
tetradic
#54299B #9B2937 #709B29 #299B8D
square
#54299B #9B2937 #709B29 #299B8D
split-complementary
#54299B #9B8D29 #379B29
monochromatic
#200F3A #3A1C6B #54299B #6F37CA #9267D7

Accessibility & contrast

On white

9.69
#54299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54299B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54299B#FFFFFF#000000##FFFFFF
##54299B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#40465F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #54299b;
/* rgb */ color: rgb(84, 41, 155);
/* oklch */ color: oklch(40.8% 0.173 294.7);
Tailwind
colors: {
  custom: {
    50: '#8b67b9',
    500: '#54299b',
    950: '#000000',
  },
}
SCSS
$custom: #54299b;
$custom-light: #8b67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54299b",
  "rgb": {
    "r": 84,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 262.632,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.17282,
    "h": 294.7
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#54299B
secondary
#9BBD63
accent
#E146A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0612
muted
#7D7A81

Preview Lab

Preview with #54299B

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

Preview Lab → · Contrast checker → · Palette generator →

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