#6829AE#6829AE

#6829AE is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.196 H 299.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6829AE
RGBrgb(104, 41, 174)
HSLhsl(268, 62%, 42%)
HSVhsv(268, 76%, 68%)
CMYKcmyk(40.2%, 76.4%, 0%, 31.8%)
CIE-LABlab(33.10, 53.29, -59.48)
CIE-LCHlch(33.10, 79.85, 311.86°)
OKLaboklab(44.74% 0.0975 -0.17)
OKLCHoklch(44.74% 0.196 299.8)
XYZxyz(14.1399, 7.5848, 40.7552)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829AE #6FAE29
analogous
#292DAE #6829AE #AA29AE
triadic
#6829AE #AE6829 #29AE68
tetradic
#6829AE #AE292D #6FAE29 #29AEAA
square
#6829AE #AE292D #6FAE29 #29AEAA
split-complementary
#6829AE #AEAA29 #2DAE29
monochromatic
#2D124B #4A1D7C #6829AE #8642D2 #A673DE

Accessibility & contrast

On white

8.34
#6829AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6829AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829AE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829AE#FFFFFF#000000##FFFFFF
##6829AE1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#574C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6829ae;
/* rgb */ color: rgb(104, 41, 174);
/* oklch */ color: oklch(44.7% 0.196 299.8);
Tailwind
colors: {
  custom: {
    50: '#9a6ac7',
    500: '#6829ae',
    950: '#000000',
  },
}
SCSS
$custom: #6829ae;
$custom-light: #9a6ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#6829ae",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 268.421,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.19595,
    "h": 299.8
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#6829AE
secondary
#9CC56D
accent
#E54398
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6829AE

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

Preview Lab → · Contrast checker → · Palette generator →

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