#6829A2#6829A2

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

Color values

HEX#6829A2
RGBrgb(104, 41, 162)
HSLhsl(271, 60%, 40%)
HSVhsv(271, 75%, 64%)
CMYKcmyk(35.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(32.12, 50.35, -53.87)
CIE-LCHlch(32.12, 73.74, 313.07°)
OKLaboklab(43.74% 0.1003 -0.1535)
OKLCHoklch(43.74% 0.183 303.2)
XYZxyz(13.0219, 7.1376, 34.8671)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A2 #63A229
analogous
#2C29A2 #6829A2 #A2299F
triadic
#6829A2 #A26829 #29A268
tetradic
#6829A2 #A22C29 #63A229 #299FA2
square
#6829A2 #A22C29 #63A229 #299FA2
split-complementary
#6829A2 #9FA229 #29A22C
monochromatic
#291040 #491D71 #6829A2 #873BCD #A56CDA

Accessibility & contrast

On white

8.65
#6829A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6829A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A2#FFFFFF#000000##FFFFFF
##6829A21.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#5C4763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6829a2;
/* rgb */ color: rgb(104, 41, 162);
/* oklch */ color: oklch(43.7% 0.183 303.2);
Tailwind
colors: {
  custom: {
    50: '#9869be',
    500: '#6829a2',
    950: '#000000',
  },
}
SCSS
$custom: #6829a2;
$custom-light: #9869be;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a2",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 271.24,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.18336,
    "h": 303.2
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#6829A2
secondary
#92C067
accent
#E34591
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6829A2

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

Preview Lab → · Contrast checker → · Palette generator →

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