#7028A3#7028A3

#7028A3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.187 H 306.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7028A3
RGBrgb(112, 40, 163)
HSLhsl(275, 61%, 40%)
HSVhsv(275, 75%, 64%)
CMYKcmyk(31.3%, 75.5%, 0%, 36.1%)
CIE-LABlab(33.15, 52.52, -52.74)
CIE-LCHlch(33.15, 74.43, 314.88°)
OKLaboklab(44.73% 0.1124 -0.1499)
OKLCHoklch(44.73% 0.187 306.9)
XYZxyz(14.0503, 7.6068, 35.3713)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028A3 #5BA328
analogous
#3328A3 #7028A3 #A32899
triadic
#7028A3 #A37028 #28A370
tetradic
#7028A3 #A33328 #5BA328 #2899A3
square
#7028A3 #A33328 #5BA328 #2899A3
split-complementary
#7028A3 #99A328 #28A333
monochromatic
#2C1041 #4E1C72 #7028A3 #913ACF #AC6BDB

Accessibility & contrast

On white

8.33
#7028A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7028A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7028A3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7028A3#FFFFFF#000000##FFFFFF
##7028A31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#674664
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7028a3;
/* rgb */ color: rgb(112, 40, 163);
/* oklch */ color: oklch(44.7% 0.187 306.9);
Tailwind
colors: {
  custom: {
    50: '#9e6abf',
    500: '#7028a3',
    950: '#000000',
  },
}
SCSS
$custom: #7028a3;
$custom-light: #9e6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7028a3",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 275.122,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.18738,
    "h": 306.9
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#7028A3
secondary
#8CC166
accent
#E44486
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7028A3

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

Preview Lab → · Contrast checker → · Palette generator →

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