#6829A8#6829A8

#6829A8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.2% C 0.190 H 301.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6829A8
RGBrgb(104, 41, 168)
HSLhsl(270, 61%, 41%)
HSVhsv(270, 76%, 66%)
CMYKcmyk(38.1%, 75.6%, 0%, 34.1%)
CIE-LABlab(32.60, 51.81, -56.69)
CIE-LCHlch(32.60, 76.80, 312.43°)
OKLaboklab(44.23% 0.099 -0.1618)
OKLCHoklch(44.23% 0.19 301.5)
XYZxyz(13.5680, 7.3560, 37.7432)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A8 #69A829
analogous
#2929A8 #6829A8 #A729A8
triadic
#6829A8 #A86829 #29A868
tetradic
#6829A8 #A82929 #69A829 #29A8A7
square
#6829A8 #A82929 #69A829 #29A8A7
split-complementary
#6829A8 #A8A729 #29A829
monochromatic
#2B1146 #4A1D77 #6829A8 #873ED0 #A56FDC

Accessibility & contrast

On white

8.50
#6829A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6829A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A8#FFFFFF#000000##FFFFFF
##6829A81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#5A4A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6829a8;
/* rgb */ color: rgb(104, 41, 168);
/* oklch */ color: oklch(44.2% 0.190 301.5);
Tailwind
colors: {
  custom: {
    50: '#9969c3',
    500: '#6829a8',
    950: '#000000',
  },
}
SCSS
$custom: #6829a8;
$custom-light: #9969c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a8",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 269.764,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44234,
    "c": 0.18966,
    "h": 301.5
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#6829A8
secondary
#97C36A
accent
#E44495
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6829A8

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

Preview Lab → · Contrast checker → · Palette generator →

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