#534278#534278

#534278 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.089 H 296.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#534278
RGBrgb(83, 66, 120)
HSLhsl(259, 29%, 36%)
HSVhsv(259, 45%, 47%)
CMYKcmyk(30.8%, 45%, 0%, 52.9%)
CIE-LABlab(32.01, 20.13, -28.32)
CIE-LCHlch(32.01, 34.75, 305.41°)
OKLaboklab(42.2% 0.0403 -0.0793)
OKLCHoklch(42.2% 0.089 296.9)
XYZxyz(8.9048, 7.0914, 18.6653)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#534278 #677842
analogous
#424C78 #534278 #6E4278
triadic
#534278 #785342 #427853
tetradic
#534278 #78424C #677842 #42786E
square
#534278 #78424C #677842 #42786E
split-complementary
#534278 #786E42 #4C7842
monochromatic
#1C1729 #382C51 #534278 #6E589F #8F7DB7

Accessibility & contrast

On white

8.68
#534278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#534278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #534278
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##534278#FFFFFF#000000##FFFFFF
##5342781.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#4B4C57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #534278;
/* rgb */ color: rgb(83, 66, 120);
/* oklch */ color: oklch(42.2% 0.089 296.9);
Tailwind
colors: {
  custom: {
    50: '#85769f',
    500: '#534278',
    950: '#000000',
  },
}
SCSS
$custom: #534278;
$custom-light: #85769f;
$custom-dark: #000000;
JSON
{
  "hex": "#534278",
  "rgb": {
    "r": 83,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 258.889,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.422,
    "c": 0.08899,
    "h": 296.9
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#534278
secondary
#94A273
accent
#C562A6
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #534278

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

Preview Lab → · Contrast checker → · Palette generator →

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