#6828A9#6828A9

#6828A9 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.192 H 301.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6828A9
RGBrgb(104, 40, 169)
HSLhsl(270, 62%, 41%)
HSVhsv(270, 76%, 66%)
CMYKcmyk(38.5%, 76.3%, 0%, 33.7%)
CIE-LABlab(32.54, 52.49, -57.41)
CIE-LCHlch(32.54, 77.78, 312.44°)
OKLaboklab(44.21% 0.0996 -0.1639)
OKLCHoklch(44.21% 0.192 301.3)
XYZxyz(13.6274, 7.3251, 38.2244)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6828A9 #69A928
analogous
#2829A9 #6828A9 #A828A9
triadic
#6828A9 #A96828 #28A968
tetradic
#6828A9 #A92829 #69A928 #28A9A8
square
#6828A9 #A92829 #69A928 #28A9A8
split-complementary
#6828A9 #A9A828 #29A928
monochromatic
#2B1146 #4A1C78 #6828A9 #873DD1 #A56FDD

Accessibility & contrast

On white

8.52
#6828A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6828A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6828A9
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6828A9#FFFFFF#000000##FFFFFF
##6828A91.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#5A4967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6828a9;
/* rgb */ color: rgb(104, 40, 169);
/* oklch */ color: oklch(44.2% 0.192 301.3);
Tailwind
colors: {
  custom: {
    50: '#9969c4',
    500: '#6828a9',
    950: '#000000',
  },
}
SCSS
$custom: #6828a9;
$custom-light: #9969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6828a9",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 269.767,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.19178,
    "h": 301.3
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#6828A9
secondary
#97C469
accent
#E54395
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6828A9

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

Preview Lab → · Contrast checker → · Palette generator →

#6828A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva