#54259B#54259B

#54259B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.177 H 295.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#54259B
RGBrgb(84, 37, 155)
HSLhsl(264, 61%, 38%)
HSVhsv(264, 76%, 61%)
CMYKcmyk(45.8%, 76.1%, 0%, 39.2%)
CIE-LABlab(28.31, 46.86, -55.93)
CIE-LCHlch(28.31, 72.97, 309.96°)
OKLaboklab(40.31% 0.0759 -0.1602)
OKLCHoklch(40.31% 0.177 295.4)
XYZxyz(10.2325, 5.5742, 31.5408)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54259B #6C9B25
analogous
#25319B #54259B #8F259B
triadic
#54259B #9B5425 #259B54
tetradic
#54259B #9B2531 #6C9B25 #259B8F
square
#54259B #9B2531 #6C9B25 #259B8F
split-complementary
#54259B #9B8F25 #319B25
monochromatic
#1E0D38 #39196A #54259B #6F31CC #9161D9

Accessibility & contrast

On white

9.93
#54259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#54259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54259B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54259B#FFFFFF#000000##FFFFFF
##54259B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#40445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54259b;
/* rgb */ color: rgb(84, 37, 155);
/* oklch */ color: oklch(40.3% 0.177 295.4);
Tailwind
colors: {
  custom: {
    50: '#8b65b9',
    500: '#54259b',
    950: '#000000',
  },
}
SCSS
$custom: #54259b;
$custom-light: #8b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54259b",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 263.898,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40309,
    "c": 0.17733,
    "h": 295.4
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#54259B
secondary
#98BF5D
accent
#E543A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54259B

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

Preview Lab → · Contrast checker → · Palette generator →

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