#6826A5#6826A5

#6826A5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.190 H 302.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6826A5
RGBrgb(104, 38, 165)
HSLhsl(271, 63%, 40%)
HSVhsv(271, 77%, 65%)
CMYKcmyk(37%, 77%, 0%, 35.3%)
CIE-LABlab(31.91, 52.36, -56.02)
CIE-LCHlch(31.91, 76.68, 313.07°)
OKLaboklab(43.67% 0.1024 -0.1598)
OKLCHoklch(43.67% 0.19 302.6)
XYZxyz(13.1919, 7.0459, 36.2550)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826A5 #63A526
analogous
#2826A5 #6826A5 #A526A3
triadic
#6826A5 #A56826 #26A568
tetradic
#6826A5 #A52826 #63A526 #26A3A5
square
#6826A5 #A52826 #63A526 #26A3A5
split-complementary
#6826A5 #A3A526 #26A528
monochromatic
#290F42 #491B73 #6826A5 #8737D1 #A569DC

Accessibility & contrast

On white

8.72
#6826A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6826A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826A5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826A5#FFFFFF#000000##FFFFFF
##6826A51.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#5B4764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6826a5;
/* rgb */ color: rgb(104, 38, 165);
/* oklch */ color: oklch(43.7% 0.190 302.6);
Tailwind
colors: {
  custom: {
    50: '#9968c1',
    500: '#6826a5',
    950: '#000000',
  },
}
SCSS
$custom: #6826a5;
$custom-light: #9968c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6826a5",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 271.181,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.18977,
    "h": 302.6
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#6826A5
secondary
#92C364
accent
#E64291
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6826A5

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

Preview Lab → · Contrast checker → · Palette generator →

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