#7028B0#7028B0

#7028B0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.200 H 303.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7028B0
RGBrgb(112, 40, 176)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 77%, 69%)
CMYKcmyk(36.4%, 77.3%, 0%, 31%)
CIE-LABlab(34.18, 55.54, -58.86)
CIE-LCHlch(34.18, 80.92, 313.34°)
OKLaboklab(45.78% 0.1095 -0.1679)
OKLCHoklch(45.78% 0.2 303.1)
XYZxyz(15.2755, 8.0969, 41.8240)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7028B0 #68B028
analogous
#2C28B0 #7028B0 #B028AC
triadic
#7028B0 #B07028 #28B070
tetradic
#7028B0 #B02C28 #68B028 #28ACB0
square
#7028B0 #B02C28 #68B028 #28ACB0
split-complementary
#7028B0 #ACB028 #28B02C
monochromatic
#31114C #501D7E #7028B0 #8F41D4 #AC73DF

Accessibility & contrast

On white

8.02
#7028B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7028B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7028B0#FFFFFF#000000##FFFFFF
##7028B01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7028b0;
/* rgb */ color: rgb(112, 40, 176);
/* oklch */ color: oklch(45.8% 0.200 303.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ac9',
    500: '#7028b0',
    950: '#000000',
  },
}
SCSS
$custom: #7028b0;
$custom-light: #9f6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7028b0",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 271.765,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.20042,
    "h": 303.1
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#7028B0
secondary
#97C66D
accent
#E6428F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7028B0

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

Preview Lab → · Contrast checker → · Palette generator →

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