#6028B1#6028B1

#6028B1 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.199 H 295.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6028B1
RGBrgb(96, 40, 177)
HSLhsl(265, 63%, 43%)
HSVhsv(265, 77%, 69%)
CMYKcmyk(45.8%, 77.4%, 0%, 30.6%)
CIE-LABlab(32.21, 53.18, -62.77)
CIE-LCHlch(32.21, 82.27, 310.27°)
OKLaboklab(43.97% 0.0856 -0.1799)
OKLCHoklch(43.97% 0.199 295.5)
XYZxyz(13.5163, 7.1784, 42.2599)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028B1 #79B128
analogous
#2834B1 #6028B1 #A528B1
triadic
#6028B1 #B16028 #28B160
tetradic
#6028B1 #B12834 #79B128 #28B1A5
square
#6028B1 #B12834 #79B128 #28B1A5
split-complementary
#6028B1 #B1A528 #34B128
monochromatic
#2A114D #451D7F #6028B1 #7E42D4 #A074E0

Accessibility & contrast

On white

8.62
#6028B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6028B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6028B1#FFFFFF#000000##FFFFFF
##6028B11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#494E6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6028b1;
/* rgb */ color: rgb(96, 40, 177);
/* oklch */ color: oklch(44.0% 0.199 295.5);
Tailwind
colors: {
  custom: {
    50: '#9568c9',
    500: '#6028b1',
    950: '#000000',
  },
}
SCSS
$custom: #6028b1;
$custom-light: #9568c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6028b1",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 264.526,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.19924,
    "h": 295.5
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#6028B1
secondary
#A3C76E
accent
#E642A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6028B1

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

Preview Lab → · Contrast checker → · Palette generator →

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