#6829AF#6829AF

#6829AF is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.197 H 299.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6829AF
RGBrgb(104, 41, 175)
HSLhsl(268, 62%, 42%)
HSVhsv(268, 77%, 69%)
CMYKcmyk(40.6%, 76.6%, 0%, 31.4%)
CIE-LABlab(33.19, 53.53, -59.94)
CIE-LCHlch(33.19, 80.36, 311.77°)
OKLaboklab(44.82% 0.0973 -0.1713)
OKLCHoklch(44.82% 0.197 299.6)
XYZxyz(14.2378, 7.6239, 41.2706)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829AF #70AF29
analogous
#292DAF #6829AF #AB29AF
triadic
#6829AF #AF6829 #29AF68
tetradic
#6829AF #AF292D #70AF29 #29AFAB
square
#6829AF #AF292D #70AF29 #29AFAB
split-complementary
#6829AF #AFAB29 #2DAF29
monochromatic
#2D124C #4B1D7D #6829AF #8642D3 #A674DE

Accessibility & contrast

On white

8.32
#6829AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6829AF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829AF#FFFFFF#000000##FFFFFF
##6829AF1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#574C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6829af;
/* rgb */ color: rgb(104, 41, 175);
/* oklch */ color: oklch(44.8% 0.197 299.6);
Tailwind
colors: {
  custom: {
    50: '#9a6ac8',
    500: '#6829af',
    950: '#000000',
  },
}
SCSS
$custom: #6829af;
$custom-light: #9a6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6829af",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 268.209,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44824,
    "c": 0.197,
    "h": 299.6
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#6829AF
secondary
#9DC66E
accent
#E54399
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6829AF

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

Preview Lab → · Contrast checker → · Palette generator →

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