#7017A1#7017A1

#7017A1 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.201 H 308.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7017A1
RGBrgb(112, 23, 161)
HSLhsl(279, 75%, 36%)
HSVhsv(279, 86%, 63%)
CMYKcmyk(30.4%, 85.7%, 0%, 36.9%)
CIE-LABlab(30.95, 57.98, -55.11)
CIE-LCHlch(30.95, 80.00, 316.45°)
OKLaboklab(43.14% 0.1264 -0.1567)
OKLCHoklch(43.14% 0.201 308.9)
XYZxyz(13.4202, 6.6310, 34.2842)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7017A1 #48A117
analogous
#2B17A1 #7017A1 #A1178D
triadic
#7017A1 #A17017 #17A170
tetradic
#7017A1 #A12B17 #48A117 #178DA1
square
#7017A1 #A12B17 #48A117 #178DA1
split-complementary
#7017A1 #8DA117 #17A12B
monochromatic
#250836 #4B0F6B #7017A1 #951FD7 #AF4DE6

Accessibility & contrast

On white

9.03
#7017A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7017A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7017A1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7017A1#FFFFFF#000000##FFFFFF
##7017A11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#683E5F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7017a1;
/* rgb */ color: rgb(112, 23, 161);
/* oklch */ color: oklch(43.1% 0.201 308.9);
Tailwind
colors: {
  custom: {
    50: '#9f62be',
    500: '#7017a1',
    950: '#000000',
  },
}
SCSS
$custom: #7017a1;
$custom-light: #9f62be;
$custom-dark: #000000;
JSON
{
  "hex": "#7017a1",
  "rgb": {
    "r": 112,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 278.696,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.20136,
    "h": 308.9
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#7017A1
secondary
#78C74C
accent
#F23679
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7017A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7017A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva