#6028A8#6028A8

#6028A8 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.190 H 297.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6028A8
RGBrgb(96, 40, 168)
HSLhsl(266, 62%, 41%)
HSVhsv(266, 76%, 66%)
CMYKcmyk(42.9%, 76.2%, 0%, 34.1%)
CIE-LABlab(31.42, 50.88, -58.67)
CIE-LCHlch(31.42, 77.66, 310.93°)
OKLaboklab(43.18% 0.0881 -0.1679)
OKLCHoklch(43.18% 0.19 297.7)
XYZxyz(12.6487, 6.8313, 37.6904)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028A8 #70A828
analogous
#2830A8 #6028A8 #A028A8
triadic
#6028A8 #A86028 #28A860
tetradic
#6028A8 #A82830 #70A828 #28A8A0
square
#6028A8 #A82830 #70A828 #28A8A0
split-complementary
#6028A8 #A8A028 #30A828
monochromatic
#281045 #441C77 #6028A8 #7D3DD1 #9E6EDC

Accessibility & contrast

On white

8.87
#6028A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6028A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6028A8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6028A8#FFFFFF#000000##FFFFFF
##6028A81.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#4E4A66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6028a8;
/* rgb */ color: rgb(96, 40, 168);
/* oklch */ color: oklch(43.2% 0.190 297.7);
Tailwind
colors: {
  custom: {
    50: '#9468c3',
    500: '#6028a8',
    950: '#000000',
  },
}
SCSS
$custom: #6028a8;
$custom-light: #9468c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6028a8",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 266.25,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.18957,
    "h": 297.7
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#6028A8
secondary
#9CC369
accent
#E5439E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6028A8

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

Preview Lab → · Contrast checker → · Palette generator →

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