#6028AA#6028AA

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

Color values

HEX#6028AA
RGBrgb(96, 40, 170)
HSLhsl(266, 62%, 41%)
HSVhsv(266, 76%, 67%)
CMYKcmyk(43.5%, 76.5%, 0%, 33.3%)
CIE-LABlab(31.59, 51.39, -59.59)
CIE-LCHlch(31.59, 78.69, 310.77°)
OKLaboklab(43.35% 0.0875 -0.1706)
OKLCHoklch(43.35% 0.192 297.2)
XYZxyz(12.8365, 6.9064, 38.6792)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028AA #72AA28
analogous
#2831AA #6028AA #A128AA
triadic
#6028AA #AA6028 #28AA60
tetradic
#6028AA #AA2831 #72AA28 #28AAA1
square
#6028AA #AA2831 #72AA28 #28AAA1
split-complementary
#6028AA #AAA128 #31AA28
monochromatic
#281147 #441C78 #6028AA #7D3ED2 #9F6FDD

Accessibility & contrast

On white

8.82
#6028AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6028AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6028AA#FFFFFF#000000##FFFFFF
##6028AA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#4D4B68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6028aa;
/* rgb */ color: rgb(96, 40, 170);
/* oklch */ color: oklch(43.4% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#9468c4',
    500: '#6028aa',
    950: '#000000',
  },
}
SCSS
$custom: #6028aa;
$custom-light: #9468c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6028aa",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 265.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4335,
    "c": 0.19172,
    "h": 297.2
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#6028AA
secondary
#9DC46A
accent
#E5439F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6028AA

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

Preview Lab → · Contrast checker → · Palette generator →

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