#6028AE#6028AE

#6028AE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.196 H 296.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6028AE
RGBrgb(96, 40, 174)
HSLhsl(265, 63%, 42%)
HSVhsv(265, 77%, 68%)
CMYKcmyk(44.8%, 77%, 0%, 31.8%)
CIE-LABlab(31.94, 52.41, -61.41)
CIE-LCHlch(31.94, 80.74, 310.48°)
OKLaboklab(43.7% 0.0865 -0.1759)
OKLCHoklch(43.7% 0.196 296.2)
XYZxyz(13.2206, 7.0601, 40.7024)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028AE #76AE28
analogous
#2833AE #6028AE #A328AE
triadic
#6028AE #AE6028 #28AE60
tetradic
#6028AE #AE2833 #76AE28 #28AEA3
square
#6028AE #AE2833 #76AE28 #28AEA3
split-complementary
#6028AE #AEA328 #33AE28
monochromatic
#29114A #451D7C #6028AE #7E40D3 #9F72DF

Accessibility & contrast

On white

8.71
#6028AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6028AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6028AE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6028AE#FFFFFF#000000##FFFFFF
##6028AE1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#4B4C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6028ae;
/* rgb */ color: rgb(96, 40, 174);
/* oklch */ color: oklch(43.7% 0.196 296.2);
Tailwind
colors: {
  custom: {
    50: '#9568c7',
    500: '#6028ae',
    950: '#000000',
  },
}
SCSS
$custom: #6028ae;
$custom-light: #9568c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6028ae",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 265.075,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.19603,
    "h": 296.2
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#6028AE
secondary
#A0C66C
accent
#E642A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6028AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6028AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva