#6028A6#6028A6

#6028A6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.187 H 298.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6028A6
RGBrgb(96, 40, 166)
HSLhsl(267, 61%, 40%)
HSVhsv(267, 76%, 65%)
CMYKcmyk(42.2%, 75.9%, 0%, 34.9%)
CIE-LABlab(31.25, 50.37, -57.75)
CIE-LCHlch(31.25, 76.63, 311.10°)
OKLaboklab(43% 0.0886 -0.1652)
OKLCHoklch(43% 0.187 298.2)
XYZxyz(12.4638, 6.7574, 36.7166)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028A6 #6EA628
analogous
#282FA6 #6028A6 #9F28A6
triadic
#6028A6 #A66028 #28A660
tetradic
#6028A6 #A6282F #6EA628 #28A69F
square
#6028A6 #A6282F #6EA628 #28A69F
split-complementary
#6028A6 #A69F28 #2FA628
monochromatic
#271043 #431C75 #6028A6 #7D3BD0 #9E6DDC

Accessibility & contrast

On white

8.93
#6028A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6028A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6028A6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6028A6#FFFFFF#000000##FFFFFF
##6028A61.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#4E4965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6028a6;
/* rgb */ color: rgb(96, 40, 166);
/* oklch */ color: oklch(43.0% 0.187 298.2);
Tailwind
colors: {
  custom: {
    50: '#9468c1',
    500: '#6028a6',
    950: '#000000',
  },
}
SCSS
$custom: #6028a6;
$custom-light: #9468c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6028a6",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 266.667,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.18741,
    "h": 298.2
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#6028A6
secondary
#9AC267
accent
#E4449D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6028A6

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

Preview Lab → · Contrast checker → · Palette generator →

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