#54269D#54269D

#54269D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.178 H 294.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#54269D
RGBrgb(84, 38, 157)
HSLhsl(263, 61%, 38%)
HSVhsv(263, 76%, 62%)
CMYKcmyk(46.5%, 75.8%, 0%, 38.4%)
CIE-LABlab(28.66, 46.92, -56.59)
CIE-LCHlch(28.66, 73.51, 309.66°)
OKLaboklab(40.61% 0.0745 -0.1622)
OKLCHoklch(40.61% 0.178 294.7)
XYZxyz(10.4334, 5.7051, 32.4432)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54269D #6F9D26
analogous
#26339D #54269D #8F269D
triadic
#54269D #9D5426 #269D54
tetradic
#54269D #9D2633 #6F9D26 #269D8F
square
#54269D #9D2633 #6F9D26 #269D8F
split-complementary
#54269D #9D8F26 #339D26
monochromatic
#1F0E3A #3A1A6C #54269D #6F33CE #9164D9

Accessibility & contrast

On white

9.81
#54269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#54269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54269D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54269D#FFFFFF#000000##FFFFFF
##54269D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#3F4660
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #54269d;
/* rgb */ color: rgb(84, 38, 157);
/* oklch */ color: oklch(40.6% 0.178 294.7);
Tailwind
colors: {
  custom: {
    50: '#8b65bb',
    500: '#54269d',
    950: '#000000',
  },
}
SCSS
$custom: #54269d;
$custom-light: #8b65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#54269d",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 263.193,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40606,
    "c": 0.17849,
    "h": 294.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#54269D
secondary
#9ABF60
accent
#E444A6
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54269D

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

Preview Lab → · Contrast checker → · Palette generator →

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