#6028A4#6028A4

#6028A4 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.185 H 298.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6028A4
RGBrgb(96, 40, 164)
HSLhsl(267, 61%, 40%)
HSVhsv(267, 76%, 64%)
CMYKcmyk(41.5%, 75.6%, 0%, 35.7%)
CIE-LABlab(31.08, 49.86, -56.82)
CIE-LCHlch(31.08, 75.59, 311.27°)
OKLaboklab(42.83% 0.0891 -0.1624)
OKLCHoklch(42.83% 0.185 298.7)
XYZxyz(12.2818, 6.6845, 35.7579)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028A4 #6CA428
analogous
#282EA4 #6028A4 #9E28A4
triadic
#6028A4 #A46028 #28A460
tetradic
#6028A4 #A4282E #6CA428 #28A49E
square
#6028A4 #A4282E #6CA428 #28A49E
split-complementary
#6028A4 #A49E28 #2EA428
monochromatic
#261042 #431C73 #6028A4 #7D3ACF #9E6BDB

Accessibility & contrast

On white

8.99
#6028A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6028A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6028A4
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6028A4#FFFFFF#000000##FFFFFF
##6028A41.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#4F4864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6028a4;
/* rgb */ color: rgb(96, 40, 164);
/* oklch */ color: oklch(42.8% 0.185 298.7);
Tailwind
colors: {
  custom: {
    50: '#9468c0',
    500: '#6028a4',
    950: '#000000',
  },
}
SCSS
$custom: #6028a4;
$custom-light: #9468c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6028a4",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 267.097,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.18525,
    "h": 298.7
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#6028A4
secondary
#98C166
accent
#E4449C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6028A4

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

Preview Lab → · Contrast checker → · Palette generator →

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