#7028A4#7028A4

#7028A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 306.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7028A4
RGBrgb(112, 40, 164)
HSLhsl(275, 61%, 40%)
HSVhsv(275, 76%, 64%)
CMYKcmyk(31.7%, 75.6%, 0%, 35.7%)
CIE-LABlab(33.23, 52.75, -53.22)
CIE-LCHlch(33.23, 74.93, 314.74°)
OKLaboklab(44.81% 0.1122 -0.1513)
OKLCHoklch(44.81% 0.188 306.6)
XYZxyz(14.1403, 7.6428, 35.8450)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028A4 #5CA428
analogous
#3228A4 #7028A4 #A4289A
triadic
#7028A4 #A47028 #28A470
tetradic
#7028A4 #A43228 #5CA428 #289AA4
square
#7028A4 #A43228 #5CA428 #289AA4
split-complementary
#7028A4 #9AA428 #28A432
monochromatic
#2D1042 #4E1C73 #7028A4 #913ACF #AC6BDB

Accessibility & contrast

On white

8.30
#7028A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7028A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7028A4#FFFFFF#000000##FFFFFF
##7028A41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7028a4;
/* rgb */ color: rgb(112, 40, 164);
/* oklch */ color: oklch(44.8% 0.188 306.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ac0',
    500: '#7028a4',
    950: '#000000',
  },
}
SCSS
$custom: #7028a4;
$custom-light: #9e6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7028a4",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 274.839,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.18837,
    "h": 306.6
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#7028A4
secondary
#8DC166
accent
#E44487
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7028A4

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

Preview Lab → · Contrast checker → · Palette generator →

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