#6826A8#6826A8

#6826A8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.193 H 301.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6826A8
RGBrgb(104, 38, 168)
HSLhsl(270, 63%, 40%)
HSVhsv(270, 77%, 66%)
CMYKcmyk(38.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(32.16, 53.08, -57.42)
CIE-LCHlch(32.16, 78.20, 312.75°)
OKLaboklab(43.92% 0.1016 -0.1639)
OKLCHoklch(43.92% 0.193 301.8)
XYZxyz(13.4682, 7.1564, 37.7100)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826A8 #66A826
analogous
#2726A8 #6826A8 #A826A7
triadic
#6826A8 #A86826 #26A868
tetradic
#6826A8 #A82726 #66A826 #26A7A8
square
#6826A8 #A82726 #66A826 #26A7A8
split-complementary
#6826A8 #A7A826 #26A827
monochromatic
#2A0F44 #491B76 #6826A8 #8739D2 #A56BDE

Accessibility & contrast

On white

8.64
#6826A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6826A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826A8
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826A8#FFFFFF#000000##FFFFFF
##6826A81.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#5A4866
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6826a8;
/* rgb */ color: rgb(104, 38, 168);
/* oklch */ color: oklch(43.9% 0.193 301.8);
Tailwind
colors: {
  custom: {
    50: '#9968c3',
    500: '#6826a8',
    950: '#000000',
  },
}
SCSS
$custom: #6826a8;
$custom-light: #9968c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6826a8",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 270.462,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.19285,
    "h": 301.8
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#6826A8
secondary
#94C466
accent
#E64293
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6826A8

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

Preview Lab → · Contrast checker → · Palette generator →

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