#54346E#54346E

#54346E is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.1% C 0.100 H 307.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#54346E
RGBrgb(84, 52, 110)
HSLhsl(273, 36%, 32%)
HSVhsv(273, 53%, 43%)
CMYKcmyk(23.6%, 52.7%, 0%, 56.9%)
CIE-LABlab(28.02, 26.57, -28.30)
CIE-LCHlch(28.02, 38.81, 313.20°)
OKLaboklab(39.05% 0.0616 -0.0792)
OKLCHoklch(39.05% 0.1 307.9)
XYZxyz(7.6981, 5.4667, 15.3985)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54346E #4E6E34
analogous
#37346E #54346E #6E346B
triadic
#54346E #6E5434 #346E54
tetradic
#54346E #6E3734 #4E6E34 #346B6E
square
#54346E #6E3734 #4E6E34 #346B6E
split-complementary
#54346E #6B6E34 #346E37
monochromatic
#150D1B #342044 #54346E #744898 #9266B7

Accessibility & contrast

On white

10.03
#54346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#54346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54346E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54346E#FFFFFF#000000##FFFFFF
##54346E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#2D436D
Tritanopia (blue-blind)
#503E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #54346e;
/* rgb */ color: rgb(84, 52, 110);
/* oklch */ color: oklch(39.1% 0.100 307.9);
Tailwind
colors: {
  custom: {
    50: '#866c98',
    500: '#54346e',
    950: '#000000',
  },
}
SCSS
$custom: #54346e;
$custom-light: #866c98;
$custom-dark: #000000;
JSON
{
  "hex": "#54346e",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 273.103,
    "s": 35.802,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.10036,
    "h": 307.9
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#54346E
secondary
#7C9F5F
accent
#CC5C8E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #54346E

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

Preview Lab → · Contrast checker → · Palette generator →

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