#54299F#54299F

#54299F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.177 H 293.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#54299F
RGBrgb(84, 41, 159)
HSLhsl(262, 59%, 39%)
HSVhsv(262, 74%, 62%)
CMYKcmyk(47.2%, 74.2%, 0%, 37.6%)
CIE-LABlab(29.35, 46.01, -56.68)
CIE-LCHlch(29.35, 73.00, 309.07°)
OKLaboklab(41.15% 0.0714 -0.1625)
OKLCHoklch(41.15% 0.177 293.7)
XYZxyz(10.7054, 5.9736, 33.3831)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54299F #749F29
analogous
#29399F #54299F #8F299F
triadic
#54299F #9F5429 #299F54
tetradic
#54299F #9F2939 #749F29 #299F8F
square
#54299F #9F2939 #749F29 #299F8F
split-complementary
#54299F #9F8F29 #399F29
monochromatic
#21103E #3A1C6E #54299F #6F39CC #926AD9

Accessibility & contrast

On white

9.57
#54299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#54299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54299F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54299F#FFFFFF#000000##FFFFFF
##54299F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#3E4862
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #54299f;
/* rgb */ color: rgb(84, 41, 159);
/* oklch */ color: oklch(41.1% 0.177 293.7);
Tailwind
colors: {
  custom: {
    50: '#8b67bc',
    500: '#54299f',
    950: '#000000',
  },
}
SCSS
$custom: #54299f;
$custom-light: #8b67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#54299f",
  "rgb": {
    "r": 84,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 261.864,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.17744,
    "h": 293.7
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#54299F
secondary
#9EBF65
accent
#E246A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54299F

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

Preview Lab → · Contrast checker → · Palette generator →

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