#6826AC#6826AC

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

Color values

HEX#6826AC
RGBrgb(104, 38, 172)
HSLhsl(270, 64%, 41%)
HSVhsv(270, 78%, 67%)
CMYKcmyk(39.5%, 77.9%, 0%, 32.5%)
CIE-LABlab(32.50, 54.05, -59.27)
CIE-LCHlch(32.50, 80.21, 312.36°)
OKLaboklab(44.26% 0.1006 -0.1693)
OKLCHoklch(44.26% 0.197 300.7)
XYZxyz(13.8466, 7.3077, 39.7028)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826AC #6AAC26
analogous
#2627AC #6826AC #AB26AC
triadic
#6826AC #AC6826 #26AC68
tetradic
#6826AC #AC2627 #6AAC26 #26ACAB
square
#6826AC #AC2627 #6AAC26 #26ACAB
split-complementary
#6826AC #ACAB26 #27AC26
monochromatic
#2B1048 #4A1B7A #6826AC #863BD4 #A56EDF

Accessibility & contrast

On white

8.53
#6826AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6826AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826AC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826AC#FFFFFF#000000##FFFFFF
##6826AC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#584A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6826ac;
/* rgb */ color: rgb(104, 38, 172);
/* oklch */ color: oklch(44.3% 0.197 300.7);
Tailwind
colors: {
  custom: {
    50: '#9a68c6',
    500: '#6826ac',
    950: '#000000',
  },
}
SCSS
$custom: #6826ac;
$custom-light: #9a68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6826ac",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 269.552,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44263,
    "c": 0.19696,
    "h": 300.7
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#6826AC
secondary
#98C568
accent
#E74195
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6826AC

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

Preview Lab → · Contrast checker → · Palette generator →

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