#6028A5#6028A5

#6028A5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.186 H 298.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6028A5
RGBrgb(96, 40, 165)
HSLhsl(267, 61%, 40%)
HSVhsv(267, 76%, 65%)
CMYKcmyk(41.8%, 75.8%, 0%, 35.3%)
CIE-LABlab(31.16, 50.11, -57.28)
CIE-LCHlch(31.16, 76.11, 311.18°)
OKLaboklab(42.92% 0.0888 -0.1638)
OKLCHoklch(42.92% 0.186 298.5)
XYZxyz(12.3725, 6.7208, 36.2354)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028A5 #6DA528
analogous
#282EA5 #6028A5 #9F28A5
triadic
#6028A5 #A56028 #28A560
tetradic
#6028A5 #A5282E #6DA528 #28A59F
square
#6028A5 #A5282E #6DA528 #28A59F
split-complementary
#6028A5 #A59F28 #2EA528
monochromatic
#271042 #431C74 #6028A5 #7D3BCF #9E6CDB

Accessibility & contrast

On white

8.96
#6028A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6028A5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6028A5#FFFFFF#000000##FFFFFF
##6028A51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#4F4965
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6028a5;
/* rgb */ color: rgb(96, 40, 165);
/* oklch */ color: oklch(42.9% 0.186 298.5);
Tailwind
colors: {
  custom: {
    50: '#9468c1',
    500: '#6028a5',
    950: '#000000',
  },
}
SCSS
$custom: #6028a5;
$custom-light: #9468c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6028a5",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 266.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.18633,
    "h": 298.5
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#6028A5
secondary
#99C267
accent
#E4449C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6028A5

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

Preview Lab → · Contrast checker → · Palette generator →

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