#6028AD#6028AD

#6028AD is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 296.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6028AD
RGBrgb(96, 40, 173)
HSLhsl(265, 62%, 42%)
HSVhsv(265, 77%, 68%)
CMYKcmyk(44.5%, 76.9%, 0%, 32.2%)
CIE-LABlab(31.86, 52.16, -60.96)
CIE-LCHlch(31.86, 80.23, 310.55°)
OKLaboklab(43.61% 0.0867 -0.1746)
OKLCHoklch(43.61% 0.195 296.4)
XYZxyz(13.1235, 7.0212, 40.1909)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028AD #75AD28
analogous
#2833AD #6028AD #A328AD
triadic
#6028AD #AD6028 #28AD60
tetradic
#6028AD #AD2833 #75AD28 #28ADA3
square
#6028AD #AD2833 #75AD28 #28ADA3
split-complementary
#6028AD #ADA328 #33AD28
monochromatic
#29114A #441D7B #6028AD #7D3FD3 #9F71DE

Accessibility & contrast

On white

8.73
#6028AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6028AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6028AD#FFFFFF#000000##FFFFFF
##6028AD1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#4B4C69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6028ad;
/* rgb */ color: rgb(96, 40, 173);
/* oklch */ color: oklch(43.6% 0.195 296.4);
Tailwind
colors: {
  custom: {
    50: '#9568c6',
    500: '#6028ad',
    950: '#000000',
  },
}
SCSS
$custom: #6028ad;
$custom-light: #9568c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6028ad",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 265.263,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.19495,
    "h": 296.4
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#6028AD
secondary
#9FC56C
accent
#E642A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6028AD

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

Preview Lab → · Contrast checker → · Palette generator →

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