#7531BF#7531BF

#7531BF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.207 H 300.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7531BF
RGBrgb(117, 49, 191)
HSLhsl(269, 59%, 47%)
HSVhsv(269, 74%, 75%)
CMYKcmyk(38.7%, 74.3%, 0%, 25.1%)
CIE-LABlab(37.37, 56.21, -62.51)
CIE-LCHlch(37.37, 84.06, 311.96°)
OKLaboklab(48.54% 0.1052 -0.1785)
OKLCHoklch(48.54% 0.207 300.5)
XYZxyz(17.8361, 9.7400, 50.2204)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7531BF #7BBF31
analogous
#3134BF #7531BF #BC31BF
triadic
#7531BF #BF7531 #31BF75
tetradic
#7531BF #BF3134 #7BBF31 #31BFBC
square
#7531BF #BF3134 #7BBF31 #31BFBC
split-complementary
#7531BF #BFBC31 #34BF31
monochromatic
#39185E #57258E #7531BF #9459D4 #B38AE1

Accessibility & contrast

On white

7.12
#7531BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7531BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7531BF#FFFFFF#000000##FFFFFF
##7531BF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#645576
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7531bf;
/* rgb */ color: rgb(117, 49, 191);
/* oklch */ color: oklch(48.5% 0.207 300.5);
Tailwind
colors: {
  custom: {
    50: '#a370d3',
    500: '#7531bf',
    950: '#000000',
  },
}
SCSS
$custom: #7531bf;
$custom-light: #a370d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7531bf",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 268.732,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.20716,
    "h": 300.5
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#7531BF
secondary
#A7CB81
accent
#E24597
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7531BF

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

Preview Lab → · Contrast checker → · Palette generator →

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