#54349E#54349E

#54349E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.163 H 291.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#54349E
RGBrgb(84, 52, 158)
HSLhsl(258, 50%, 41%)
HSVhsv(258, 67%, 62%)
CMYKcmyk(46.8%, 67.1%, 0%, 38%)
CIE-LABlab(31.37, 39.89, -52.77)
CIE-LCHlch(31.37, 66.15, 307.08°)
OKLaboklab(42.56% 0.0607 -0.151)
OKLCHoklch(42.56% 0.163 291.9)
XYZxyz(11.0540, 6.8091, 33.0730)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54349E #7E9E34
analogous
#34499E #54349E #89349E
triadic
#54349E #9E5434 #349E54
tetradic
#54349E #9E3449 #7E9E34 #349E89
square
#54349E #9E3449 #7E9E34 #349E89
split-complementary
#54349E #9E8934 #499E34
monochromatic
#231642 #3C2570 #54349E #704BC4 #9479D3

Accessibility & contrast

On white

8.89
#54349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#54349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54349E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54349E#FFFFFF#000000##FFFFFF
##54349E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#3E4E64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #54349e;
/* rgb */ color: rgb(84, 52, 158);
/* oklch */ color: oklch(42.6% 0.163 291.9);
Tailwind
colors: {
  custom: {
    50: '#8b6ebb',
    500: '#54349e',
    950: '#000000',
  },
}
SCSS
$custom: #54349e;
$custom-light: #8b6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#54349e",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 258.113,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.16276,
    "h": 291.9
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#54349E
secondary
#A5BC72
accent
#DA4EB0
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #54349E

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

Preview Lab → · Contrast checker → · Palette generator →

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