#54346D#54346D

#54346D is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.099 H 308.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#54346D
RGBrgb(84, 52, 109)
HSLhsl(274, 35%, 32%)
HSVhsv(274, 52%, 43%)
CMYKcmyk(22.9%, 52.3%, 0%, 57.3%)
CIE-LABlab(27.97, 26.31, -27.75)
CIE-LCHlch(27.97, 38.24, 313.48°)
OKLaboklab(38.99% 0.0615 -0.0776)
OKLCHoklch(38.99% 0.099 308.4)
XYZxyz(7.6439, 5.4450, 15.1133)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54346D #4D6D34
analogous
#38346D #54346D #6D346A
triadic
#54346D #6D5434 #346D54
tetradic
#54346D #6D3834 #4D6D34 #346A6D
square
#54346D #6D3834 #4D6D34 #346A6D
split-complementary
#54346D #6A6D34 #346D38
monochromatic
#140C1A #342044 #54346D #744896 #9366B6

Accessibility & contrast

On white

10.05
#54346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #54346D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54346D#FFFFFF#000000##FFFFFF
##54346D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#2E426C
Tritanopia (blue-blind)
#513E4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #54346d;
/* rgb */ color: rgb(84, 52, 109);
/* oklch */ color: oklch(39.0% 0.099 308.4);
Tailwind
colors: {
  custom: {
    50: '#866c97',
    500: '#54346d',
    950: '#000000',
  },
}
SCSS
$custom: #54346d;
$custom-light: #866c97;
$custom-dark: #000000;
JSON
{
  "hex": "#54346d",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 273.684,
    "s": 35.404,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.09904,
    "h": 308.4
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#54346D
secondary
#7B9E5F
accent
#CB5C8D
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #54346D

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

Preview Lab → · Contrast checker → · Palette generator →

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