#7531A4#7531A4

#7531A4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.179 H 307.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7531A4
RGBrgb(117, 49, 164)
HSLhsl(275, 54%, 42%)
HSVhsv(275, 70%, 64%)
CMYKcmyk(28.7%, 70.1%, 0%, 35.7%)
CIE-LABlab(35.32, 49.80, -49.80)
CIE-LCHlch(35.32, 70.43, 315.00°)
OKLaboklab(46.44% 0.11 -0.1411)
OKLCHoklch(46.44% 0.179 307.9)
XYZxyz(15.1339, 8.6591, 35.9889)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531A4 #60A431
analogous
#3B31A4 #7531A4 #A4319A
triadic
#7531A4 #A47531 #31A475
tetradic
#7531A4 #A43B31 #60A431 #319AA4
square
#7531A4 #A43B31 #60A431 #319AA4
split-complementary
#7531A4 #9AA431 #31A43B
monochromatic
#321546 #532375 #7531A4 #9549C9 #B079D7

Accessibility & contrast

On white

7.69
#7531A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7531A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7531A4
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7531A4#FFFFFF#000000##FFFFFF
##7531A41.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#1454A2
Tritanopia (blue-blind)
#6E4B67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7531a4;
/* rgb */ color: rgb(117, 49, 164);
/* oklch */ color: oklch(46.4% 0.179 307.9);
Tailwind
colors: {
  custom: {
    50: '#a16fc0',
    500: '#7531a4',
    950: '#000000',
  },
}
SCSS
$custom: #7531a4;
$custom-light: #a16fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7531a4",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 275.478,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46439,
    "c": 0.17895,
    "h": 307.9
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#7531A4
secondary
#91BF72
accent
#DD4A86
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7531A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7531A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva