#7028A9#7028A9

#7028A9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.193 H 305.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7028A9
RGBrgb(112, 40, 169)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 76%, 66%)
CMYKcmyk(33.7%, 76.3%, 0%, 33.7%)
CIE-LABlab(33.62, 53.90, -55.59)
CIE-LCHlch(33.62, 77.43, 314.12°)
OKLaboklab(45.21% 0.1112 -0.1583)
OKLCHoklch(45.21% 0.193 305.1)
XYZxyz(14.6007, 7.8270, 38.2700)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028A9 #61A928
analogous
#2F28A9 #7028A9 #A928A1
triadic
#7028A9 #A97028 #28A970
tetradic
#7028A9 #A92F28 #61A928 #28A1A9
square
#7028A9 #A92F28 #61A928 #28A1A9
split-complementary
#7028A9 #A1A928 #28A92F
monochromatic
#2E1146 #4F1C78 #7028A9 #903DD1 #AC6FDD

Accessibility & contrast

On white

8.19
#7028A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7028A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028A9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028A9#FFFFFF#000000##FFFFFF
##7028A91.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#654867
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7028a9;
/* rgb */ color: rgb(112, 40, 169);
/* oklch */ color: oklch(45.2% 0.193 305.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ac3',
    500: '#7028a9',
    950: '#000000',
  },
}
SCSS
$custom: #7028a9;
$custom-light: #9e6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7028a9",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 273.488,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.1934,
    "h": 305.1
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#7028A9
secondary
#91C469
accent
#E5438A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7028A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva