#6826AD#6826AD

#6826AD is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.198 H 300.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6826AD
RGBrgb(104, 38, 173)
HSLhsl(269, 64%, 41%)
HSVhsv(269, 78%, 68%)
CMYKcmyk(39.9%, 78%, 0%, 32.2%)
CIE-LABlab(32.58, 54.29, -59.73)
CIE-LCHlch(32.58, 80.72, 312.27°)
OKLaboklab(44.35% 0.1003 -0.1707)
OKLCHoklch(44.35% 0.198 300.4)
XYZxyz(13.9430, 7.3463, 40.2105)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826AD #6BAD26
analogous
#2628AD #6826AD #AC26AD
triadic
#6826AD #AD6826 #26AD68
tetradic
#6826AD #AD2628 #6BAD26 #26ADAC
square
#6826AD #AD2628 #6BAD26 #26ADAC
split-complementary
#6826AD #ADAC26 #28AD26
monochromatic
#2C1049 #4A1B7B #6826AD #863CD4 #A56EDF

Accessibility & contrast

On white

8.50
#6826AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6826AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826AD
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826AD#FFFFFF#000000##FFFFFF
##6826AD1.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)
#004CB1
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#584A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6826ad;
/* rgb */ color: rgb(104, 38, 173);
/* oklch */ color: oklch(44.3% 0.198 300.4);
Tailwind
colors: {
  custom: {
    50: '#9a68c6',
    500: '#6826ad',
    950: '#000000',
  },
}
SCSS
$custom: #6826ad;
$custom-light: #9a68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6826ad",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 269.333,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.19798,
    "h": 300.4
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#6826AD
secondary
#98C669
accent
#E74196
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6826AD

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

Preview Lab → · Contrast checker → · Palette generator →

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