#6829A1#6829A1

#6829A1 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.182 H 303.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6829A1
RGBrgb(104, 41, 161)
HSLhsl(272, 59%, 40%)
HSVhsv(272, 75%, 63%)
CMYKcmyk(35.4%, 74.5%, 0%, 36.9%)
CIE-LABlab(32.04, 50.11, -53.39)
CIE-LCHlch(32.04, 73.23, 313.18°)
OKLaboklab(43.66% 0.1005 -0.1521)
OKLCHoklch(43.66% 0.182 303.5)
XYZxyz(12.9334, 7.1022, 34.4008)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A1 #62A129
analogous
#2C29A1 #6829A1 #A1299E
triadic
#6829A1 #A16829 #29A168
tetradic
#6829A1 #A12C29 #62A129 #299EA1
square
#6829A1 #A12C29 #62A129 #299EA1
split-complementary
#6829A1 #9EA129 #29A12C
monochromatic
#29103F #481D70 #6829A1 #873ACD #A56BD9

Accessibility & contrast

On white

8.68
#6829A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6829A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A1#FFFFFF#000000##FFFFFF
##6829A11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#5D4763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6829a1;
/* rgb */ color: rgb(104, 41, 161);
/* oklch */ color: oklch(43.7% 0.182 303.5);
Tailwind
colors: {
  custom: {
    50: '#9869be',
    500: '#6829a1',
    950: '#000000',
  },
}
SCSS
$custom: #6829a1;
$custom-light: #9869be;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a1",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 271.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43659,
    "c": 0.18231,
    "h": 303.5
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#6829A1
secondary
#91C066
accent
#E34590
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6829A1

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

Preview Lab → · Contrast checker → · Palette generator →

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