#6028B0#6028B0

#6028B0 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.198 H 295.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6028B0
RGBrgb(96, 40, 176)
HSLhsl(265, 63%, 42%)
HSVhsv(265, 77%, 69%)
CMYKcmyk(45.5%, 77.3%, 0%, 31%)
CIE-LABlab(32.12, 52.93, -62.32)
CIE-LCHlch(32.12, 81.76, 310.34°)
OKLaboklab(43.88% 0.0859 -0.1786)
OKLCHoklch(43.88% 0.198 295.7)
XYZxyz(13.4170, 7.1386, 41.7369)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028B0 #78B028
analogous
#2834B0 #6028B0 #A428B0
triadic
#6028B0 #B06028 #28B060
tetradic
#6028B0 #B02834 #78B028 #28B0A4
square
#6028B0 #B02834 #78B028 #28B0A4
split-complementary
#6028B0 #B0A428 #34B028
monochromatic
#2A114C #451D7E #6028B0 #7E41D4 #A073DF

Accessibility & contrast

On white

8.65
#6028B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6028B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6028B0#FFFFFF#000000##FFFFFF
##6028B01.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#4A4D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6028b0;
/* rgb */ color: rgb(96, 40, 176);
/* oklch */ color: oklch(43.9% 0.198 295.7);
Tailwind
colors: {
  custom: {
    50: '#9568c9',
    500: '#6028b0',
    950: '#000000',
  },
}
SCSS
$custom: #6028b0;
$custom-light: #9568c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6028b0",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 264.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.19817,
    "h": 295.7
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#6028B0
secondary
#A2C66D
accent
#E642A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6028B0

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

Preview Lab → · Contrast checker → · Palette generator →

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