#6836C4#6836C4

#6836C4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.206 H 293.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6836C4
RGBrgb(104, 54, 196)
HSLhsl(261, 57%, 49%)
HSVhsv(261, 72%, 77%)
CMYKcmyk(46.9%, 72.4%, 0%, 23.1%)
CIE-LABlab(37.05, 52.98, -66.02)
CIE-LCHlch(37.05, 84.65, 308.75°)
OKLaboklab(48.09% 0.0808 -0.1893)
OKLCHoklch(48.09% 0.206 293.1)
XYZxyz(16.9891, 9.5664, 53.1652)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836C4 #92C436
analogous
#364BC4 #6836C4 #AF36C4
triadic
#6836C4 #C46836 #36C468
tetradic
#6836C4 #C4364B #92C436 #36C4AF
square
#6836C4 #C4364B #92C436 #36C4AF
split-complementary
#6836C4 #C4AF36 #4BC436
monochromatic
#351C64 #4F2994 #6836C4 #8B63D4 #AF93E1

Accessibility & contrast

On white

7.21
#6836C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6836C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6836C4#FFFFFF#000000##FFFFFF
##6836C41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#4C5B7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6836c4;
/* rgb */ color: rgb(104, 54, 196);
/* oklch */ color: oklch(48.1% 0.206 293.1);
Tailwind
colors: {
  custom: {
    50: '#9b72d7',
    500: '#6836c4',
    950: '#000000',
  },
}
SCSS
$custom: #6836c4;
$custom-light: #9b72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6836c4",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 261.127,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.20581,
    "h": 293.1
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#6836C4
secondary
#B5CC89
accent
#E048AA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6836C4

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

Preview Lab → · Contrast checker → · Palette generator →

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