#6026A6#6026A6

#6026A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.190 H 298.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6026A6
RGBrgb(96, 38, 166)
HSLhsl(267, 63%, 40%)
HSVhsv(267, 77%, 65%)
CMYKcmyk(42.2%, 77.1%, 0%, 34.9%)
CIE-LABlab(30.94, 51.25, -58.25)
CIE-LCHlch(30.94, 77.59, 311.34°)
OKLaboklab(42.79% 0.0903 -0.1666)
OKLCHoklch(42.79% 0.19 298.5)
XYZxyz(12.3981, 6.6260, 36.6947)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6026A6 #6CA626
analogous
#262CA6 #6026A6 #A026A6
triadic
#6026A6 #A66026 #26A660
tetradic
#6026A6 #A6262C #6CA626 #26A6A0
square
#6026A6 #A6262C #6CA626 #26A6A0
split-complementary
#6026A6 #A6A026 #2CA626
monochromatic
#260F42 #431B74 #6026A6 #7D38D1 #9E6ADD

Accessibility & contrast

On white

9.03
#6026A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6026A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6026A6
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6026A6#FFFFFF#000000##FFFFFF
##6026A61.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#4F4865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6026a6;
/* rgb */ color: rgb(96, 38, 166);
/* oklch */ color: oklch(42.8% 0.190 298.5);
Tailwind
colors: {
  custom: {
    50: '#9467c1',
    500: '#6026a6',
    950: '#000000',
  },
}
SCSS
$custom: #6026a6;
$custom-light: #9467c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6026a6",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 267.188,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.42786,
    "c": 0.18952,
    "h": 298.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#6026A6
secondary
#98C365
accent
#E6429C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6026A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6026A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva