#6826AE#6826AE

#6826AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.199 H 300.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6826AE
RGBrgb(104, 38, 174)
HSLhsl(269, 64%, 42%)
HSVhsv(269, 78%, 68%)
CMYKcmyk(40.2%, 78.2%, 0%, 31.8%)
CIE-LABlab(32.67, 54.53, -60.19)
CIE-LCHlch(32.67, 81.22, 312.18°)
OKLaboklab(44.44% 0.1 -0.172)
OKLCHoklch(44.44% 0.199 300.2)
XYZxyz(14.0401, 7.3851, 40.7220)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826AE #6CAE26
analogous
#2628AE #6826AE #AC26AE
triadic
#6826AE #AE6826 #26AE68
tetradic
#6826AE #AE2628 #6CAE26 #26AEAC
square
#6826AE #AE2628 #6CAE26 #26AEAC
split-complementary
#6826AE #AEAC26 #28AE26
monochromatic
#2C104A #4A1B7C #6826AE #863DD5 #A66FE0

Accessibility & contrast

On white

8.48
#6826AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6826AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826AE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826AE#FFFFFF#000000##FFFFFF
##6826AE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#584B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6826ae;
/* rgb */ color: rgb(104, 38, 174);
/* oklch */ color: oklch(44.4% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#9a68c7',
    500: '#6826ae',
    950: '#000000',
  },
}
SCSS
$custom: #6826ae;
$custom-light: #9a68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6826ae",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 269.118,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.199,
    "h": 300.2
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#6826AE
secondary
#99C66A
accent
#E74196
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6826AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6826AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva