#534784#534784

#534784 is a dark, moderate violet. Relative luminance 0.080; OKLCH L 43.9% C 0.098 H 290.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#534784
RGBrgb(83, 71, 132)
HSLhsl(252, 30%, 40%)
HSVhsv(252, 46%, 52%)
CMYKcmyk(37.1%, 46.2%, 0%, 48.2%)
CIE-LABlab(34.01, 20.38, -32.63)
CIE-LCHlch(34.01, 38.47, 301.98°)
OKLaboklab(43.92% 0.035 -0.0919)
OKLCHoklch(43.92% 0.098 290.8)
XYZxyz(9.9843, 8.0112, 22.8456)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#534784 #788447
analogous
#475A84 #534784 #714784
triadic
#534784 #845347 #478453
tetradic
#534784 #84475A #788447 #478471
square
#534784 #84475A #788447 #478471
split-complementary
#534784 #847147 #5A8447
monochromatic
#211C34 #3A325C #534784 #6E5FA9 #9287BE

Accessibility & contrast

On white

8.07
#534784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#534784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #534784
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##534784#FFFFFF#000000##FFFFFF
##5347841.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325186
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#47535F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #534784;
/* rgb */ color: rgb(83, 71, 132);
/* oklch */ color: oklch(43.9% 0.098 290.8);
Tailwind
colors: {
  custom: {
    50: '#867aa8',
    500: '#534784',
    950: '#000000',
  },
}
SCSS
$custom: #534784;
$custom-light: #867aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#534784",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 251.803,
    "s": 30.049,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43923,
    "c": 0.09833,
    "h": 290.8
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#534784
secondary
#A1AA7D
accent
#C662B2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #534784

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

Preview Lab → · Contrast checker → · Palette generator →

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