#7031AE#7031AE

#7031AE is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.188 H 302.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7031AE
RGBrgb(112, 49, 174)
HSLhsl(270, 56%, 44%)
HSVhsv(270, 72%, 68%)
CMYKcmyk(35.6%, 71.8%, 0%, 31.8%)
CIE-LABlab(35.39, 51.16, -55.70)
CIE-LCHlch(35.39, 75.63, 312.57°)
OKLaboklab(46.58% 0.1015 -0.1586)
OKLCHoklch(46.58% 0.188 302.6)
XYZxyz(15.4186, 8.6973, 40.9026)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7031AE #6FAE31
analogous
#3131AE #7031AE #AE31AD
triadic
#7031AE #AE7031 #31AE70
tetradic
#7031AE #AE3131 #6FAE31 #31ADAE
square
#7031AE #AE3131 #6FAE31 #31ADAE
split-complementary
#7031AE #ADAE31 #31AE31
monochromatic
#33164E #51247E #7031AE #8F4FCD #AD7FDB

Accessibility & contrast

On white

7.67
#7031AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7031AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7031AE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7031AE#FFFFFF#000000##FFFFFF
##7031AE1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#634F6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7031ae;
/* rgb */ color: rgb(112, 49, 174);
/* oklch */ color: oklch(46.6% 0.188 302.6);
Tailwind
colors: {
  custom: {
    50: '#9e6fc7',
    500: '#7031ae',
    950: '#000000',
  },
}
SCSS
$custom: #7031ae;
$custom-light: #9e6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7031ae",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 270.24,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.18833,
    "h": 302.6
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#7031AE
secondary
#9DC477
accent
#DF4893
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7031AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7031AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva