#543087#543087

#543087 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.139 H 299.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#543087
RGBrgb(84, 48, 135)
HSLhsl(265, 48%, 36%)
HSVhsv(265, 64%, 53%)
CMYKcmyk(37.8%, 64.4%, 0%, 47.1%)
CIE-LABlab(28.77, 35.65, -42.86)
CIE-LCHlch(28.77, 55.75, 309.75°)
OKLaboklab(40.13% 0.0677 -0.1219)
OKLCHoklch(40.13% 0.139 299)
XYZxyz(9.0852, 5.7479, 23.5478)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#543087 #638730
analogous
#303787 #543087 #7F3087
triadic
#543087 #875430 #308754
tetradic
#543087 #873037 #638730 #30877F
square
#543087 #873037 #638730 #30877F
split-complementary
#543087 #877F30 #378730
monochromatic
#1C102D #38205A #543087 #7040B4 #9068C9

Accessibility & contrast

On white

9.77
#543087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#543087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #543087
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##543087#FFFFFF#000000##FFFFFF
##5430871.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#094385
Tritanopia (blue-blind)
#494357
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #543087;
/* rgb */ color: rgb(84, 48, 135);
/* oklch */ color: oklch(40.1% 0.139 299.0);
Tailwind
colors: {
  custom: {
    50: '#886aab',
    500: '#543087',
    950: '#000000',
  },
}
SCSS
$custom: #543087;
$custom-light: #886aab;
$custom-dark: #000000;
JSON
{
  "hex": "#543087",
  "rgb": {
    "r": 84,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 264.828,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40128,
    "c": 0.13941,
    "h": 299
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#543087
secondary
#90B162
accent
#D7519F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #543087

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

Preview Lab → · Contrast checker → · Palette generator →

#543087 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva