#533894#533894

#533894 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.144 H 292.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#533894
RGBrgb(83, 56, 148)
HSLhsl(258, 45%, 40%)
HSVhsv(258, 62%, 58%)
CMYKcmyk(43.9%, 62.2%, 0%, 42%)
CIE-LABlab(31.36, 34.44, -46.70)
CIE-LCHlch(31.36, 58.03, 306.41°)
OKLaboklab(42.29% 0.0557 -0.1332)
OKLCHoklch(42.29% 0.144 292.7)
XYZxyz(10.3253, 6.8052, 28.7807)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533894 #799438
analogous
#384B94 #533894 #813894
triadic
#533894 #945338 #389453
tetradic
#533894 #94384B #799438 #389481
square
#533894 #94384B #799438 #389481
split-complementary
#533894 #948138 #4B9438
monochromatic
#21163B #3A2768 #533894 #6E4DBC #927ACD

Accessibility & contrast

On white

8.89
#533894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#533894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533894
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533894#FFFFFF#000000##FFFFFF
##5338941.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#414D60
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #533894;
/* rgb */ color: rgb(83, 56, 148);
/* oklch */ color: oklch(42.3% 0.144 292.7);
Tailwind
colors: {
  custom: {
    50: '#8870b4',
    500: '#533894',
    950: '#000000',
  },
}
SCSS
$custom: #533894;
$custom-light: #8870b4;
$custom-dark: #000000;
JSON
{
  "hex": "#533894",
  "rgb": {
    "r": 83,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 257.609,
    "s": 45.098,
    "l": 40
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.14437,
    "h": 292.7
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#533894
secondary
#A2B672
accent
#D553AF
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #533894

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

Preview Lab → · Contrast checker → · Palette generator →

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