#6826A2#6826A2

#6826A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.187 H 303.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6826A2
RGBrgb(104, 38, 162)
HSLhsl(272, 62%, 39%)
HSVhsv(272, 77%, 64%)
CMYKcmyk(35.8%, 76.5%, 0%, 36.5%)
CIE-LABlab(31.67, 51.65, -54.61)
CIE-LCHlch(31.67, 75.16, 313.40°)
OKLaboklab(43.42% 0.1031 -0.1556)
OKLCHoklch(43.42% 0.187 303.5)
XYZxyz(12.9221, 6.9379, 34.8338)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6826A2 #60A226
analogous
#2A26A2 #6826A2 #A2269E
triadic
#6826A2 #A26826 #26A268
tetradic
#6826A2 #A22A26 #60A226 #269EA2
square
#6826A2 #A22A26 #60A226 #269EA2
split-complementary
#6826A2 #9EA226 #26A22A
monochromatic
#280F3F #481A70 #6826A2 #8835D0 #A567DB

Accessibility & contrast

On white

8.80
#6826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6826A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6826A2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6826A2#FFFFFF#000000##FFFFFF
##6826A21.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#5C4663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6826a2;
/* rgb */ color: rgb(104, 38, 162);
/* oklch */ color: oklch(43.4% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#9968be',
    500: '#6826a2',
    950: '#000000',
  },
}
SCSS
$custom: #6826a2;
$custom-light: #9968be;
$custom-dark: #000000;
JSON
{
  "hex": "#6826a2",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 271.935,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.18669,
    "h": 303.5
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#6826A2
secondary
#8FC163
accent
#E5438F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6826A2

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

Preview Lab → · Contrast checker → · Palette generator →

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