#54309F#54309F

#54309F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.169 H 292.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#54309F
RGBrgb(84, 48, 159)
HSLhsl(259, 54%, 41%)
HSVhsv(259, 70%, 62%)
CMYKcmyk(47.2%, 69.8%, 0%, 37.6%)
CIE-LABlab(30.64, 42.38, -54.56)
CIE-LCHlch(30.64, 69.09, 307.84°)
OKLaboklab(42.07% 0.0647 -0.1563)
OKLCHoklch(42.07% 0.169 292.5)
XYZxyz(10.9694, 6.5016, 33.4711)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54309F #7B9F30
analogous
#30449F #54309F #8B309F
triadic
#54309F #9F5430 #309F54
tetradic
#54309F #9F3044 #7B9F30 #309F8B
square
#54309F #9F3044 #7B9F30 #309F8B
split-complementary
#54309F #9F8B30 #449F30
monochromatic
#221441 #3B2270 #54309F #6F45C7 #9474D5

Accessibility & contrast

On white

9.13
#54309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#54309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54309F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54309F#FFFFFF#000000##FFFFFF
##54309F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#3D4C64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #54309f;
/* rgb */ color: rgb(84, 48, 159);
/* oklch */ color: oklch(42.1% 0.169 292.5);
Tailwind
colors: {
  custom: {
    50: '#8b6bbc',
    500: '#54309f',
    950: '#000000',
  },
}
SCSS
$custom: #54309f;
$custom-light: #8b6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#54309f",
  "rgb": {
    "r": 84,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 259.459,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.16912,
    "h": 292.5
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#54309F
secondary
#A3BD6E
accent
#DD4BAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #54309F

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

Preview Lab → · Contrast checker → · Palette generator →

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