#7531AA#7531AA

#7531AA is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.185 H 306.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7531AA
RGBrgb(117, 49, 170)
HSLhsl(274, 55%, 43%)
HSVhsv(274, 71%, 67%)
CMYKcmyk(31.2%, 71.2%, 0%, 33.3%)
CIE-LABlab(35.75, 51.20, -52.70)
CIE-LCHlch(35.75, 73.47, 314.17°)
OKLaboklab(46.89% 0.1092 -0.1496)
OKLCHoklch(46.89% 0.185 306.1)
XYZxyz(15.6885, 8.8810, 38.9101)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531AA #66AA31
analogous
#3831AA #7531AA #AA31A2
triadic
#7531AA #AA7531 #31AA75
tetradic
#7531AA #AA3831 #66AA31 #31A2AA
square
#7531AA #AA3831 #66AA31 #31A2AA
split-complementary
#7531AA #A2AA31 #31AA38
monochromatic
#34164B #54237A #7531AA #944DCC #B07CD9

Accessibility & contrast

On white

7.56
#7531AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7531AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7531AA#FFFFFF#000000##FFFFFF
##7531AA1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6C4D6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7531aa;
/* rgb */ color: rgb(117, 49, 170);
/* oklch */ color: oklch(46.9% 0.185 306.1);
Tailwind
colors: {
  custom: {
    50: '#a16fc4',
    500: '#7531aa',
    950: '#000000',
  },
}
SCSS
$custom: #7531aa;
$custom-light: #a16fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7531aa",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 273.719,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46886,
    "c": 0.18523,
    "h": 306.1
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#7531AA
secondary
#97C275
accent
#DF498B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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