#6829A5#6829A5

#6829A5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.187 H 302.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6829A5
RGBrgb(104, 41, 165)
HSLhsl(270, 60%, 40%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(37%, 75.2%, 0%, 35.3%)
CIE-LABlab(32.36, 51.08, -55.29)
CIE-LCHlch(32.36, 75.27, 312.74°)
OKLaboklab(43.99% 0.0997 -0.1577)
OKLCHoklch(43.99% 0.187 302.3)
XYZxyz(13.2918, 7.2455, 36.2883)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A5 #66A529
analogous
#2A29A5 #6829A5 #A529A4
triadic
#6829A5 #A56829 #29A568
tetradic
#6829A5 #A52A29 #66A529 #29A4A5
square
#6829A5 #A52A29 #66A529 #29A4A5
split-complementary
#6829A5 #A4A529 #29A52A
monochromatic
#2A1143 #491D74 #6829A5 #873DCF #A56EDB

Accessibility & contrast

On white

8.57
#6829A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6829A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A5#FFFFFF#000000##FFFFFF
##6829A51.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#5B4865
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6829a5;
/* rgb */ color: rgb(104, 41, 165);
/* oklch */ color: oklch(44.0% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#9969c1',
    500: '#6829a5',
    950: '#000000',
  },
}
SCSS
$custom: #6829a5;
$custom-light: #9969c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a5",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 270.484,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43985,
    "c": 0.18651,
    "h": 302.3
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#6829A5
secondary
#94C268
accent
#E34493
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6829A5

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

Preview Lab → · Contrast checker → · Palette generator →

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