#6829A6#6829A6

#6829A6 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.188 H 302.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6829A6
RGBrgb(104, 41, 166)
HSLhsl(270, 60%, 41%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(37.3%, 75.3%, 0%, 34.9%)
CIE-LABlab(32.44, 51.33, -55.76)
CIE-LCHlch(32.44, 75.78, 312.63°)
OKLaboklab(44.07% 0.0994 -0.159)
OKLCHoklch(44.07% 0.188 302)
XYZxyz(13.3831, 7.2821, 36.7695)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A6 #67A629
analogous
#2A29A6 #6829A6 #A629A5
triadic
#6829A6 #A66829 #29A668
tetradic
#6829A6 #A62A29 #67A629 #29A5A6
square
#6829A6 #A62A29 #67A629 #29A5A6
split-complementary
#6829A6 #A5A629 #29A62A
monochromatic
#2B1144 #491D75 #6829A6 #873DCF #A56EDB

Accessibility & contrast

On white

8.55
#6829A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6829A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A6#FFFFFF#000000##FFFFFF
##6829A61.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#5B4966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6829a6;
/* rgb */ color: rgb(104, 41, 166);
/* oklch */ color: oklch(44.1% 0.188 302.0);
Tailwind
colors: {
  custom: {
    50: '#9969c1',
    500: '#6829a6',
    950: '#000000',
  },
}
SCSS
$custom: #6829a6;
$custom-light: #9969c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a6",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 270.24,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.18756,
    "h": 302
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#6829A6
secondary
#95C269
accent
#E44493
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6829A6

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

Preview Lab → · Contrast checker → · Palette generator →

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