#6836AA#6836AA

#6836AA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.176 H 299.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6836AA
RGBrgb(104, 54, 170)
HSLhsl(266, 52%, 44%)
HSVhsv(266, 68%, 67%)
CMYKcmyk(38.8%, 68.2%, 0%, 33.3%)
CIE-LABlab(34.97, 46.12, -54.04)
CIE-LCHlch(34.97, 71.05, 310.48°)
OKLaboklab(45.96% 0.0856 -0.1541)
OKLCHoklch(45.96% 0.176 299)
XYZxyz(14.2820, 8.4835, 38.9074)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836AA #78AA36
analogous
#363EAA #6836AA #A236AA
triadic
#6836AA #AA6836 #36AA68
tetradic
#6836AA #AA363E #78AA36 #36AAA2
square
#6836AA #AA363E #78AA36 #36AAA2
split-complementary
#6836AA #AAA236 #3EAA36
monochromatic
#2F184D #4C277C #6836AA #8754C9 #A783D8

Accessibility & contrast

On white

7.79
#6836AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6836AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6836AA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6836AA#FFFFFF#000000##FFFFFF
##6836AA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#59516B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6836aa;
/* rgb */ color: rgb(104, 54, 170);
/* oklch */ color: oklch(46.0% 0.176 299.0);
Tailwind
colors: {
  custom: {
    50: '#9871c4',
    500: '#6836aa',
    950: '#000000',
  },
}
SCSS
$custom: #6836aa;
$custom-light: #9871c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6836aa",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 265.862,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.17625,
    "h": 299
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#6836AA
secondary
#A3C17B
accent
#DB4D9E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6836AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6836AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva