#7131AF#7131AF

#7131AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.190 H 302.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7131AF
RGBrgb(113, 49, 175)
HSLhsl(270, 56%, 44%)
HSVhsv(270, 72%, 69%)
CMYKcmyk(35.4%, 72%, 0%, 31.4%)
CIE-LABlab(35.60, 51.60, -55.95)
CIE-LCHlch(35.60, 76.11, 312.68°)
OKLaboklab(46.78% 0.1028 -0.1593)
OKLCHoklch(46.78% 0.19 302.8)
XYZxyz(15.6444, 8.8025, 41.4240)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131AF #6FAF31
analogous
#3231AF #7131AF #AF31AE
triadic
#7131AF #AF7131 #31AF71
tetradic
#7131AF #AF3231 #6FAF31 #31AEAF
square
#7131AF #AF3231 #6FAF31 #31AEAF
split-complementary
#7131AF #AEAF31 #31AF32
monochromatic
#33164F #52247F #7131AF #904FCE #AE7FDB

Accessibility & contrast

On white

7.61
#7131AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7131AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131AF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131AF#FFFFFF#000000##FFFFFF
##7131AF1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#644F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7131af;
/* rgb */ color: rgb(113, 49, 175);
/* oklch */ color: oklch(46.8% 0.190 302.8);
Tailwind
colors: {
  custom: {
    50: '#9f6fc8',
    500: '#7131af',
    950: '#000000',
  },
}
SCSS
$custom: #7131af;
$custom-light: #9f6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7131af",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 270.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.18961,
    "h": 302.8
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#7131AF
secondary
#9DC478
accent
#E04893
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7131AF

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

Preview Lab → · Contrast checker → · Palette generator →

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