#533174#533174

#533174 is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.8% C 0.113 H 305.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#533174
RGBrgb(83, 49, 116)
HSLhsl(270, 41%, 32%)
HSVhsv(270, 58%, 45%)
CMYKcmyk(28.4%, 57.8%, 0%, 54.5%)
CIE-LABlab(27.56, 29.67, -32.86)
CIE-LCHlch(27.56, 44.27, 312.08°)
OKLaboklab(38.8% 0.0652 -0.0926)
OKLCHoklch(38.8% 0.113 305.1)
XYZxyz(7.8173, 5.2966, 17.1301)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#533174 #527431
analogous
#323174 #533174 #743173
triadic
#533174 #745331 #317453
tetradic
#533174 #743231 #527431 #317374
square
#533174 #743231 #527431 #317374
split-complementary
#533174 #737431 #317432
monochromatic
#150D1E #341F49 #533174 #72439F #9063BD

Accessibility & contrast

On white

10.20
#533174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#533174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #533174
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##533174#FFFFFF#000000##FFFFFF
##5331741.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#254172
Tritanopia (blue-blind)
#4D3E4D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #533174;
/* rgb */ color: rgb(83, 49, 116);
/* oklch */ color: oklch(38.8% 0.113 305.1);
Tailwind
colors: {
  custom: {
    50: '#866a9c',
    500: '#533174',
    950: '#000000',
  },
}
SCSS
$custom: #533174;
$custom-light: #866a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#533174",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 270.448,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.1132,
    "h": 305.1
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#533174
secondary
#80A45C
accent
#D05793
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #533174

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

Preview Lab → · Contrast checker → · Palette generator →

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