#7131BF#7131BF

#7131BF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.207 H 298.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7131BF
RGBrgb(113, 49, 191)
HSLhsl(267, 59%, 47%)
HSVhsv(267, 74%, 75%)
CMYKcmyk(40.8%, 74.3%, 0%, 25.1%)
CIE-LABlab(36.87, 55.52, -63.34)
CIE-LCHlch(36.87, 84.23, 311.23°)
OKLaboklab(48.08% 0.0994 -0.1811)
OKLCHoklch(48.08% 0.207 298.8)
XYZxyz(17.3099, 9.4687, 50.1958)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131BF #7FBF31
analogous
#3138BF #7131BF #B831BF
triadic
#7131BF #BF7131 #31BF71
tetradic
#7131BF #BF3138 #7FBF31 #31BFB8
square
#7131BF #BF3138 #7FBF31 #31BFB8
split-complementary
#7131BF #BFB831 #38BF31
monochromatic
#37185E #54258E #7131BF #9159D4 #B18AE1

Accessibility & contrast

On white

7.26
#7131BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7131BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131BF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131BF#FFFFFF#000000##FFFFFF
##7131BF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#5E5676
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7131bf;
/* rgb */ color: rgb(113, 49, 191);
/* oklch */ color: oklch(48.1% 0.207 298.8);
Tailwind
colors: {
  custom: {
    50: '#a16fd3',
    500: '#7131bf',
    950: '#000000',
  },
}
SCSS
$custom: #7131bf;
$custom-light: #a16fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7131bf",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 267.042,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48075,
    "c": 0.20658,
    "h": 298.8
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#7131BF
secondary
#AACB81
accent
#E2459C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7131BF

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

Preview Lab → · Contrast checker → · Palette generator →

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