#54348F#54348F

#54348F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.144 H 295.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#54348F
RGBrgb(84, 52, 143)
HSLhsl(261, 47%, 38%)
HSVhsv(261, 64%, 56%)
CMYKcmyk(41.3%, 63.6%, 0%, 43.9%)
CIE-LABlab(30.22, 35.58, -45.48)
CIE-LCHlch(30.22, 57.74, 308.04°)
OKLaboklab(41.37% 0.0622 -0.1296)
OKLCHoklch(41.37% 0.144 295.6)
XYZxyz(9.8408, 6.3238, 26.6834)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54348F #6F8F34
analogous
#34418F #54348F #81348F
triadic
#54348F #8F5434 #348F54
tetradic
#54348F #8F3441 #6F8F34 #348F81
square
#54348F #8F3441 #6F8F34 #348F81
split-complementary
#54348F #8F8134 #418F34
monochromatic
#1F1335 #3A2462 #54348F #6F45BB #9172CC

Accessibility & contrast

On white

9.27
#54348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#54348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54348F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54348F#FFFFFF#000000##FFFFFF
##54348F1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#45485C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #54348f;
/* rgb */ color: rgb(84, 52, 143);
/* oklch */ color: oklch(41.4% 0.144 295.6);
Tailwind
colors: {
  custom: {
    50: '#896db0',
    500: '#54348f',
    950: '#000000',
  },
}
SCSS
$custom: #54348f;
$custom-light: #896db0;
$custom-dark: #000000;
JSON
{
  "hex": "#54348f",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 261.099,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.14374,
    "h": 295.6
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#54348F
secondary
#9AB46B
accent
#D651A8
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #54348F

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

Preview Lab → · Contrast checker → · Palette generator →

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