#7028AA#7028AA

#7028AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.194 H 304.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7028AA
RGBrgb(112, 40, 170)
HSLhsl(273, 62%, 41%)
HSVhsv(273, 76%, 67%)
CMYKcmyk(34.1%, 76.5%, 0%, 33.3%)
CIE-LABlab(33.70, 54.13, -56.06)
CIE-LCHlch(33.70, 77.93, 314.00°)
OKLaboklab(45.29% 0.1109 -0.1596)
OKLCHoklch(45.29% 0.194 304.8)
XYZxyz(14.6949, 7.8647, 38.7663)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028AA #62AA28
analogous
#2F28AA #7028AA #AA28A3
triadic
#7028AA #AA7028 #28AA70
tetradic
#7028AA #AA2F28 #62AA28 #28A3AA
square
#7028AA #AA2F28 #62AA28 #28A3AA
split-complementary
#7028AA #A3AA28 #28AA2F
monochromatic
#2F1147 #4F1C78 #7028AA #903ED2 #AC6FDD

Accessibility & contrast

On white

8.16
#7028AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7028AA#FFFFFF#000000##FFFFFF
##7028AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#654968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7028aa;
/* rgb */ color: rgb(112, 40, 170);
/* oklch */ color: oklch(45.3% 0.194 304.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ac4',
    500: '#7028aa',
    950: '#000000',
  },
}
SCSS
$custom: #7028aa;
$custom-light: #9f6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7028aa",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 273.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.1944,
    "h": 304.8
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#7028AA
secondary
#92C46A
accent
#E5438B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028AA

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

Preview Lab → · Contrast checker → · Palette generator →

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