#54346F#54346F

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

Color values

HEX#54346F
RGBrgb(84, 52, 111)
HSLhsl(273, 36%, 32%)
HSVhsv(273, 53%, 44%)
CMYKcmyk(24.3%, 53.2%, 0%, 56.5%)
CIE-LABlab(28.08, 26.83, -28.84)
CIE-LCHlch(28.08, 39.39, 312.93°)
OKLaboklab(39.12% 0.0617 -0.0808)
OKLCHoklch(39.12% 0.102 307.4)
XYZxyz(7.7528, 5.4886, 15.6868)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54346F #4F6F34
analogous
#37346F #54346F #6F346D
triadic
#54346F #6F5434 #346F54
tetradic
#54346F #6F3734 #4F6F34 #346D6F
square
#54346F #6F3734 #4F6F34 #346D6F
split-complementary
#54346F #6D6F34 #346F37
monochromatic
#150D1C #342045 #54346F #744899 #9266B7

Accessibility & contrast

On white

10.01
#54346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#54346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54346F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54346F#FFFFFF#000000##FFFFFF
##54346F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54346f;
/* rgb */ color: rgb(84, 52, 111);
/* oklch */ color: oklch(39.1% 0.102 307.4);
Tailwind
colors: {
  custom: {
    50: '#866c98',
    500: '#54346f',
    950: '#000000',
  },
}
SCSS
$custom: #54346f;
$custom-light: #866c98;
$custom-dark: #000000;
JSON
{
  "hex": "#54346f",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 272.542,
    "s": 36.196,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39117,
    "c": 0.10169,
    "h": 307.4
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#54346F
secondary
#7DA05F
accent
#CC5C8F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070E
muted
#7C7A7E

Preview Lab

Preview with #54346F

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

Preview Lab → · Contrast checker → · Palette generator →

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