#54358E#54358E

#54358E is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.4% C 0.141 H 295.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#54358E
RGBrgb(84, 53, 142)
HSLhsl(261, 46%, 38%)
HSVhsv(261, 63%, 56%)
CMYKcmyk(40.8%, 62.7%, 0%, 44.3%)
CIE-LABlab(30.36, 34.71, -44.62)
CIE-LCHlch(30.36, 56.54, 307.88°)
OKLaboklab(41.45% 0.0611 -0.1271)
OKLCHoklch(41.45% 0.141 295.7)
XYZxyz(9.8105, 6.3838, 26.3013)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54358E #6F8E35
analogous
#35428E #54358E #80358E
triadic
#54358E #8E5435 #358E54
tetradic
#54358E #8E3542 #6F8E35 #358E80
square
#54358E #8E3542 #6F8E35 #358E80
split-complementary
#54358E #8E8035 #428E35
monochromatic
#1F1435 #3A2461 #54358E #6F46BA #9173CB

Accessibility & contrast

On white

9.22
#54358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#54358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54358E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54358E#FFFFFF#000000##FFFFFF
##54358E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#05468C
Tritanopia (blue-blind)
#45495C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54358e;
/* rgb */ color: rgb(84, 53, 142);
/* oklch */ color: oklch(41.4% 0.141 295.7);
Tailwind
colors: {
  custom: {
    50: '#896eb0',
    500: '#54358e',
    950: '#000000',
  },
}
SCSS
$custom: #54358e;
$custom-light: #896eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#54358e",
  "rgb": {
    "r": 84,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 260.899,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.14097,
    "h": 295.7
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#54358E
secondary
#9AB36C
accent
#D552A8
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #54358E

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

Preview Lab → · Contrast checker → · Palette generator →

#54358E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva