#7031C0#7031C0

#7031C0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.208 H 298.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7031C0
RGBrgb(112, 49, 192)
HSLhsl(266, 59%, 47%)
HSVhsv(266, 74%, 75%)
CMYKcmyk(41.7%, 74.5%, 0%, 24.7%)
CIE-LABlab(36.83, 55.60, -64.00)
CIE-LCHlch(36.83, 84.78, 310.98°)
OKLaboklab(48.05% 0.0978 -0.183)
OKLCHoklch(48.05% 0.208 298.1)
XYZxyz(17.2924, 9.4469, 50.7713)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7031C0 #81C031
analogous
#3139C0 #7031C0 #B831C0
triadic
#7031C0 #C07031 #31C070
tetradic
#7031C0 #C03139 #81C031 #31C0B8
square
#7031C0 #C03139 #81C031 #31C0B8
split-complementary
#7031C0 #C0B831 #39C031
monochromatic
#37185E #54258F #7031C0 #9059D5 #B18AE1

Accessibility & contrast

On white

7.27
#7031C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7031C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7031C0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7031C0#FFFFFF#000000##FFFFFF
##7031C01.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#5C5676
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7031c0;
/* rgb */ color: rgb(112, 49, 192);
/* oklch */ color: oklch(48.0% 0.208 298.1);
Tailwind
colors: {
  custom: {
    50: '#a06fd4',
    500: '#7031c0',
    950: '#000000',
  },
}
SCSS
$custom: #7031c0;
$custom-light: #a06fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7031c0",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 266.434,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.20752,
    "h": 298.1
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#7031C0
secondary
#ABCB82
accent
#E3459D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7031C0

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

Preview Lab → · Contrast checker → · Palette generator →

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