#54269C#54269C

#54269C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.177 H 294.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#54269C
RGBrgb(84, 38, 156)
HSLhsl(263, 61%, 38%)
HSVhsv(263, 76%, 61%)
CMYKcmyk(46.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(28.57, 46.65, -56.13)
CIE-LCHlch(28.57, 72.98, 309.73°)
OKLaboklab(40.52% 0.0748 -0.1608)
OKLCHoklch(40.52% 0.177 294.9)
XYZxyz(10.3484, 5.6711, 31.9954)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54269C #6E9C26
analogous
#26339C #54269C #8F269C
triadic
#54269C #9C5426 #269C54
tetradic
#54269C #9C2633 #6E9C26 #269C8F
square
#54269C #9C2633 #6E9C26 #269C8F
split-complementary
#54269C #9C8F26 #339C26
monochromatic
#1F0E3A #3A1A6B #54269C #6F32CD #9163D9

Accessibility & contrast

On white

9.84
#54269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#54269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54269C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54269C#FFFFFF#000000##FFFFFF
##54269C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#3F455F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54269c;
/* rgb */ color: rgb(84, 38, 156);
/* oklch */ color: oklch(40.5% 0.177 294.9);
Tailwind
colors: {
  custom: {
    50: '#8b65ba',
    500: '#54269c',
    950: '#000000',
  },
}
SCSS
$custom: #54269c;
$custom-light: #8b65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#54269c",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 263.39,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.17736,
    "h": 294.9
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#54269C
secondary
#99BF5F
accent
#E444A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54269C

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

Preview Lab → · Contrast checker → · Palette generator →

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