#54269A#54269A

#54269A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.175 H 295.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#54269A
RGBrgb(84, 38, 154)
HSLhsl(264, 60%, 38%)
HSVhsv(264, 75%, 60%)
CMYKcmyk(45.5%, 75.3%, 0%, 39.6%)
CIE-LABlab(28.39, 46.12, -55.19)
CIE-LCHlch(28.39, 71.92, 309.88°)
OKLaboklab(40.34% 0.0753 -0.1581)
OKLCHoklch(40.34% 0.175 295.5)
XYZxyz(10.1804, 5.6039, 31.1109)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54269A #6C9A26
analogous
#26329A #54269A #8E269A
triadic
#54269A #9A5426 #269A54
tetradic
#54269A #9A2632 #6C9A26 #269A8E
square
#54269A #9A2632 #6C9A26 #269A8E
split-complementary
#54269A #9A8E26 #329A26
monochromatic
#1E0E38 #391A69 #54269A #6F32CB #9162D8

Accessibility & contrast

On white

9.90
#54269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#54269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54269A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54269A#FFFFFF#000000##FFFFFF
##54269A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#40455E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #54269a;
/* rgb */ color: rgb(84, 38, 154);
/* oklch */ color: oklch(40.3% 0.175 295.5);
Tailwind
colors: {
  custom: {
    50: '#8b65b9',
    500: '#54269a',
    950: '#000000',
  },
}
SCSS
$custom: #54269a;
$custom-light: #8b65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#54269a",
  "rgb": {
    "r": 84,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 263.793,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.1751,
    "h": 295.5
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#54269A
secondary
#98BE5E
accent
#E444A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #54269A

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

Preview Lab → · Contrast checker → · Palette generator →

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