#531675#531675

#531675 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.153 H 309.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#531675
RGBrgb(83, 22, 117)
HSLhsl(279, 68%, 27%)
HSVhsv(279, 81%, 46%)
CMYKcmyk(29.1%, 81.2%, 0%, 54.1%)
CIE-LABlab(22.64, 43.65, -41.42)
CIE-LCHlch(22.64, 60.18, 316.50°)
OKLaboklab(35.29% 0.0977 -0.1175)
OKLCHoklch(35.29% 0.153 309.7)
XYZxyz(7.0644, 3.6973, 17.1677)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531675 #387516
analogous
#231675 #531675 #751668
triadic
#531675 #755316 #167553
tetradic
#531675 #752316 #387516 #166875
square
#531675 #752316 #387516 #166875
split-complementary
#531675 #687516 #167523
monochromatic
#12051A #2E0C41 #531675 #7820A9 #9B2ED8

Accessibility & contrast

On white

12.07
#531675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#531675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531675
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531675#FFFFFF#000000##FFFFFF
##5316751.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#4E2E45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531675;
/* rgb */ color: rgb(83, 22, 117);
/* oklch */ color: oklch(35.3% 0.153 309.7);
Tailwind
colors: {
  custom: {
    50: '#875b9d',
    500: '#531675',
    950: '#000000',
  },
}
SCSS
$custom: #531675;
$custom-light: #875b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531675",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 278.526,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35286,
    "c": 0.15282,
    "h": 309.7
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#531675
secondary
#64AB3C
accent
#EB3D7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531675

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

Preview Lab → · Contrast checker → · Palette generator →

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