#7028AD#7028AD

#7028AD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.197 H 303.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7028AD
RGBrgb(112, 40, 173)
HSLhsl(272, 62%, 42%)
HSVhsv(272, 77%, 68%)
CMYKcmyk(35.3%, 76.9%, 0%, 32.2%)
CIE-LABlab(33.94, 54.83, -57.47)
CIE-LCHlch(33.94, 79.43, 313.66°)
OKLaboklab(45.53% 0.1102 -0.1638)
OKLCHoklch(45.53% 0.197 303.9)
XYZxyz(14.9820, 7.9795, 40.2780)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028AD #65AD28
analogous
#2E28AD #7028AD #AD28A8
triadic
#7028AD #AD7028 #28AD70
tetradic
#7028AD #AD2E28 #65AD28 #28A8AD
square
#7028AD #AD2E28 #65AD28 #28A8AD
split-complementary
#7028AD #A8AD28 #28AD2E
monochromatic
#30114A #501D7B #7028AD #8F3FD3 #AC71DE

Accessibility & contrast

On white

8.09
#7028AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7028AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028AD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028AD#FFFFFF#000000##FFFFFF
##7028AD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#644A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7028ad;
/* rgb */ color: rgb(112, 40, 173);
/* oklch */ color: oklch(45.5% 0.197 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f6ac6',
    500: '#7028ad',
    950: '#000000',
  },
}
SCSS
$custom: #7028ad;
$custom-light: #9f6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7028ad",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 272.481,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.19741,
    "h": 303.9
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#7028AD
secondary
#95C56C
accent
#E6428D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028AD

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

Preview Lab → · Contrast checker → · Palette generator →

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