#6826A7#6826A7

#6826A7 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.192 H 302.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6826A7
RGBrgb(104, 38, 167)
HSLhsl(271, 63%, 40%)
HSVhsv(271, 77%, 65%)
CMYKcmyk(37.7%, 77.2%, 0%, 34.5%)
CIE-LABlab(32.08, 52.84, -56.95)
CIE-LCHlch(32.08, 77.69, 312.86°)
OKLaboklab(43.84% 0.1019 -0.1625)
OKLCHoklch(43.84% 0.192 302.1)
XYZxyz(13.3754, 7.1193, 37.2212)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826A7 #65A726
analogous
#2826A7 #6826A7 #A726A5
triadic
#6826A7 #A76826 #26A768
tetradic
#6826A7 #A72826 #65A726 #26A5A7
square
#6826A7 #A72826 #65A726 #26A5A7
split-complementary
#6826A7 #A5A726 #26A728
monochromatic
#2A0F43 #491B75 #6826A7 #8738D2 #A56ADD

Accessibility & contrast

On white

8.66
#6826A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6826A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826A7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826A7#FFFFFF#000000##FFFFFF
##6826A71.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#5A4865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6826a7;
/* rgb */ color: rgb(104, 38, 167);
/* oklch */ color: oklch(43.8% 0.192 302.1);
Tailwind
colors: {
  custom: {
    50: '#9968c2',
    500: '#6826a7',
    950: '#000000',
  },
}
SCSS
$custom: #6826a7;
$custom-light: #9968c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6826a7",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 270.698,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.19182,
    "h": 302.1
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#6826A7
secondary
#93C365
accent
#E64292
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6826A7

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

Preview Lab → · Contrast checker → · Palette generator →

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