#6028A3#6028A3

#6028A3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 299.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6028A3
RGBrgb(96, 40, 163)
HSLhsl(267, 61%, 40%)
HSVhsv(267, 75%, 64%)
CMYKcmyk(41.1%, 75.5%, 0%, 36.1%)
CIE-LABlab(30.99, 49.61, -56.35)
CIE-LCHlch(30.99, 75.07, 311.36°)
OKLaboklab(42.74% 0.0893 -0.1611)
OKLCHoklch(42.74% 0.184 299)
XYZxyz(12.1918, 6.6486, 35.2842)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6028A3 #6BA328
analogous
#282EA3 #6028A3 #9E28A3
triadic
#6028A3 #A36028 #28A360
tetradic
#6028A3 #A3282E #6BA328 #28A39E
square
#6028A3 #A3282E #6BA328 #28A39E
split-complementary
#6028A3 #A39E28 #2EA328
monochromatic
#261041 #431C72 #6028A3 #7D3ACF #9E6BDB

Accessibility & contrast

On white

9.01
#6028A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6028A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6028A3#FFFFFF#000000##FFFFFF
##6028A31.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#504864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6028a3;
/* rgb */ color: rgb(96, 40, 163);
/* oklch */ color: oklch(42.7% 0.184 299.0);
Tailwind
colors: {
  custom: {
    50: '#9368bf',
    500: '#6028a3',
    950: '#000000',
  },
}
SCSS
$custom: #6028a3;
$custom-light: #9368bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6028a3",
  "rgb": {
    "r": 96,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 267.317,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.18417,
    "h": 299
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#6028A3
secondary
#97C166
accent
#E4449B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6028A3

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

Preview Lab → · Contrast checker → · Palette generator →

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