#6028AB#6028AB

#6028AB is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.193 H 296.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6028AB
RGBrgb(96, 40, 171)
HSLhsl(266, 62%, 41%)
HSVhsv(266, 77%, 67%)
CMYKcmyk(43.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(31.68, 51.64, -60.05)
CIE-LCHlch(31.68, 79.20, 310.70°)
OKLaboklab(43.44% 0.0873 -0.1719)
OKLCHoklch(43.44% 0.193 296.9)
XYZxyz(12.9314, 6.9444, 39.1793)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028AB #73AB28
analogous
#2832AB #6028AB #A228AB
triadic
#6028AB #AB6028 #28AB60
tetradic
#6028AB #AB2832 #73AB28 #28ABA2
square
#6028AB #AB2832 #73AB28 #28ABA2
split-complementary
#6028AB #ABA228 #32AB28
monochromatic
#281148 #441C79 #6028AB #7D3ED2 #9F70DE

Accessibility & contrast

On white

8.79
#6028AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6028AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6028AB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6028AB#FFFFFF#000000##FFFFFF
##6028AB1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#4C4B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6028ab;
/* rgb */ color: rgb(96, 40, 171);
/* oklch */ color: oklch(43.4% 0.193 296.9);
Tailwind
colors: {
  custom: {
    50: '#9468c5',
    500: '#6028ab',
    950: '#000000',
  },
}
SCSS
$custom: #6028ab;
$custom-light: #9468c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6028ab",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 265.649,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.1928,
    "h": 296.9
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#6028AB
secondary
#9EC46A
accent
#E543A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6028AB

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

Preview Lab → · Contrast checker → · Palette generator →

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