#534788#534788

#534788 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 44.2% C 0.104 H 289.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#534788
RGBrgb(83, 71, 136)
HSLhsl(251, 31%, 41%)
HSVhsv(251, 48%, 53%)
CMYKcmyk(39%, 47.8%, 0%, 46.7%)
CIE-LABlab(34.24, 21.56, -34.72)
CIE-LCHlch(34.24, 40.87, 301.83°)
OKLaboklab(44.17% 0.0356 -0.098)
OKLCHoklch(44.17% 0.104 289.9)
XYZxyz(10.2632, 8.1228, 24.3149)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#534788 #7C8847
analogous
#475B88 #534788 #734788
triadic
#534788 #885347 #478853
tetradic
#534788 #88475B #7C8847 #478873
square
#534788 #88475B #7C8847 #478873
split-complementary
#534788 #887347 #5B8847
monochromatic
#221D38 #3A3260 #534788 #6E60AC #9388C1

Accessibility & contrast

On white

8.00
#534788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#534788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #534788
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##534788#FFFFFF#000000##FFFFFF
##5347881.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#455461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #534788;
/* rgb */ color: rgb(83, 71, 136);
/* oklch */ color: oklch(44.2% 0.104 289.9);
Tailwind
colors: {
  custom: {
    50: '#867aab',
    500: '#534788',
    950: '#000000',
  },
}
SCSS
$custom: #534788;
$custom-light: #867aab;
$custom-dark: #000000;
JSON
{
  "hex": "#534788",
  "rgb": {
    "r": 83,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 251.077,
    "s": 31.401,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.10427,
    "h": 289.9
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#534788
secondary
#A4AD7E
accent
#C860B5
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #534788

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

Preview Lab → · Contrast checker → · Palette generator →

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