#7531AF#7531AF

#7531AF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.190 H 304.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7531AF
RGBrgb(117, 49, 175)
HSLhsl(272, 56%, 44%)
HSVhsv(272, 72%, 69%)
CMYKcmyk(33.1%, 72%, 0%, 31.4%)
CIE-LABlab(36.13, 52.37, -55.08)
CIE-LCHlch(36.13, 76.00, 313.56°)
OKLaboklab(47.27% 0.1084 -0.1566)
OKLCHoklch(47.27% 0.19 304.7)
XYZxyz(16.1705, 9.0738, 41.4486)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531AF #6BAF31
analogous
#3631AF #7531AF #AF31AA
triadic
#7531AF #AF7531 #31AF75
tetradic
#7531AF #AF3631 #6BAF31 #31AAAF
square
#7531AF #AF3631 #6BAF31 #31AAAF
split-complementary
#7531AF #AAAF31 #31AF36
monochromatic
#35164F #55247F #7531AF #944FCE #B17FDB

Accessibility & contrast

On white

7.46
#7531AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7531AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7531AF#FFFFFF#000000##FFFFFF
##7531AF1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#6A4F6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7531af;
/* rgb */ color: rgb(117, 49, 175);
/* oklch */ color: oklch(47.3% 0.190 304.7);
Tailwind
colors: {
  custom: {
    50: '#a26fc8',
    500: '#7531af',
    950: '#000000',
  },
}
SCSS
$custom: #7531af;
$custom-light: #a26fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7531af",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 272.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47267,
    "c": 0.19047,
    "h": 304.7
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#7531AF
secondary
#9BC478
accent
#E0488E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7531AF

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

Preview Lab → · Contrast checker → · Palette generator →

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