#7131B3#7131B3

#7131B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.194 H 301.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7131B3
RGBrgb(113, 49, 179)
HSLhsl(270, 57%, 45%)
HSVhsv(270, 73%, 70%)
CMYKcmyk(36.9%, 72.6%, 0%, 29.8%)
CIE-LABlab(35.91, 52.57, -57.83)
CIE-LCHlch(35.91, 78.15, 312.27°)
OKLaboklab(47.1% 0.102 -0.1649)
OKLCHoklch(47.1% 0.194 301.7)
XYZxyz(16.0431, 8.9619, 43.5237)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131B3 #73B331
analogous
#3132B3 #7131B3 #B231B3
triadic
#7131B3 #B37131 #31B371
tetradic
#7131B3 #B33132 #73B331 #31B3B2
square
#7131B3 #B33132 #73B331 #31B3B2
split-complementary
#7131B3 #B3B231 #32B331
monochromatic
#341753 #532483 #7131B3 #9052D0 #AE82DD

Accessibility & contrast

On white

7.52
#7131B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7131B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131B3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131B3#FFFFFF#000000##FFFFFF
##7131B31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#63516F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7131b3;
/* rgb */ color: rgb(113, 49, 179);
/* oklch */ color: oklch(47.1% 0.194 301.7);
Tailwind
colors: {
  custom: {
    50: '#9f6fcb',
    500: '#7131b3',
    950: '#000000',
  },
}
SCSS
$custom: #7131b3;
$custom-light: #9f6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7131b3",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 179
  },
  "hsl": {
    "h": 269.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.19387,
    "h": 301.7
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#7131B3
secondary
#A0C67A
accent
#E04895
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7131B3

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

Preview Lab → · Contrast checker → · Palette generator →

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