#54359B#54359B

#54359B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.5% C 0.158 H 292.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#54359B
RGBrgb(84, 53, 155)
HSLhsl(258, 49%, 41%)
HSVhsv(258, 66%, 61%)
CMYKcmyk(45.8%, 65.8%, 0%, 39.2%)
CIE-LABlab(31.34, 38.45, -51.00)
CIE-LCHlch(31.34, 63.87, 307.02°)
OKLaboklab(42.47% 0.06 -0.1458)
OKLCHoklch(42.47% 0.158 292.4)
XYZxyz(10.8440, 6.7972, 31.7446)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54359B #7C9B35
analogous
#35499B #54359B #87359B
triadic
#54359B #9B5435 #359B54
tetradic
#54359B #9B3549 #7C9B35 #359B87
square
#54359B #9B3549 #7C9B35 #359B87
split-complementary
#54359B #9B8735 #499B35
monochromatic
#231640 #3B256D #54359B #6F4CC2 #9479D1

Accessibility & contrast

On white

8.90
#54359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#54359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54359B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54359B#FFFFFF#000000##FFFFFF
##54359B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#3F4D63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #54359b;
/* rgb */ color: rgb(84, 53, 155);
/* oklch */ color: oklch(42.5% 0.158 292.4);
Tailwind
colors: {
  custom: {
    50: '#8a6eb9',
    500: '#54359b',
    950: '#000000',
  },
}
SCSS
$custom: #54359b;
$custom-light: #8a6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#54359b",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 258.235,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.15765,
    "h": 292.4
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#54359B
secondary
#A4BA72
accent
#D94FAF
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #54359B

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

Preview Lab → · Contrast checker → · Palette generator →

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