#7028AF#7028AF

#7028AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.199 H 303.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7028AF
RGBrgb(112, 40, 175)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 77%, 69%)
CMYKcmyk(36%, 77.1%, 0%, 31.4%)
CIE-LABlab(34.10, 55.30, -58.40)
CIE-LCHlch(34.10, 80.43, 313.44°)
OKLaboklab(45.7% 0.1097 -0.1665)
OKLCHoklch(45.7% 0.199 303.4)
XYZxyz(15.1769, 8.0575, 41.3048)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028AF #67AF28
analogous
#2C28AF #7028AF #AF28AB
triadic
#7028AF #AF7028 #28AF70
tetradic
#7028AF #AF2C28 #67AF28 #28ABAF
square
#7028AF #AF2C28 #67AF28 #28ABAF
split-complementary
#7028AF #ABAF28 #28AF2C
monochromatic
#30114B #501D7D #7028AF #8F41D4 #AC73DF

Accessibility & contrast

On white

8.04
#7028AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7028AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7028AF#FFFFFF#000000##FFFFFF
##7028AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#634B6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7028af;
/* rgb */ color: rgb(112, 40, 175);
/* oklch */ color: oklch(45.7% 0.199 303.4);
Tailwind
colors: {
  custom: {
    50: '#9f6ac8',
    500: '#7028af',
    950: '#000000',
  },
}
SCSS
$custom: #7028af;
$custom-light: #9f6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7028af",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 272,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.19942,
    "h": 303.4
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#7028AF
secondary
#96C66D
accent
#E6428E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028AF

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

Preview Lab → · Contrast checker → · Palette generator →

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