#6836CD#6836CD

#6836CD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.216 H 291.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6836CD
RGBrgb(104, 54, 205)
HSLhsl(260, 60%, 51%)
HSVhsv(260, 74%, 80%)
CMYKcmyk(49.3%, 73.7%, 0%, 19.6%)
CIE-LABlab(37.82, 55.38, -70.00)
CIE-LCHlch(37.82, 89.26, 308.35°)
OKLaboklab(48.87% 0.0788 -0.2009)
OKLCHoklch(48.87% 0.216 291.4)
XYZxyz(18.0444, 9.9885, 58.7230)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836CD #9BCD36
analogous
#364FCD #6836CD #B436CD
triadic
#6836CD #CD6836 #36CD68
tetradic
#6836CD #CD364F #9BCD36 #36CDB4
square
#6836CD #CD364F #9BCD36 #36CDB4
split-complementary
#6836CD #CDB436 #4FCD36
monochromatic
#361B6D #4F279E #6836CD #8D67D9 #B298E5

Accessibility & contrast

On white

7.01
#6836CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6836CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6836CD#FFFFFF#000000##FFFFFF
##6836CD1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#465F7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6836cd;
/* rgb */ color: rgb(104, 54, 205);
/* oklch */ color: oklch(48.9% 0.216 291.4);
Tailwind
colors: {
  custom: {
    50: '#9d72dd',
    500: '#6836cd',
    950: '#000000',
  },
}
SCSS
$custom: #6836cd;
$custom-light: #9d72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6836cd",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 259.868,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.21584,
    "h": 291.4
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#6836CD
secondary
#BBD18E
accent
#E344AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6836CD

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

Preview Lab → · Contrast checker → · Palette generator →

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