#6836AF#6836AF

#6836AF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.182 H 297.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6836AF
RGBrgb(104, 54, 175)
HSLhsl(265, 53%, 45%)
HSVhsv(265, 69%, 69%)
CMYKcmyk(40.6%, 69.1%, 0%, 31.4%)
CIE-LABlab(35.35, 47.43, -56.40)
CIE-LCHlch(35.35, 73.69, 310.06°)
OKLaboklab(46.36% 0.0848 -0.161)
OKLCHoklch(46.36% 0.182 297.8)
XYZxyz(14.7640, 8.6763, 41.4460)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6836AF #7DAF36
analogous
#3641AF #6836AF #A436AF
triadic
#6836AF #AF6836 #36AF68
tetradic
#6836AF #AF3641 #7DAF36 #36AFA4
square
#6836AF #AF3641 #7DAF36 #36AFA4
split-complementary
#6836AF #AFA436 #41AF36
monochromatic
#301951 #4C2880 #6836AF #8757CB #A886DA

Accessibility & contrast

On white

7.68
#6836AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6836AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6836AF#FFFFFF#000000##FFFFFF
##6836AF1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#57536E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6836af;
/* rgb */ color: rgb(104, 54, 175);
/* oklch */ color: oklch(46.4% 0.182 297.8);
Tailwind
colors: {
  custom: {
    50: '#9971c8',
    500: '#6836af',
    950: '#000000',
  },
}
SCSS
$custom: #6836af;
$custom-light: #9971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6836af",
  "rgb": {
    "r": 104,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 264.793,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.182,
    "h": 297.8
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#6836AF
secondary
#A6C37D
accent
#DC4CA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6836AF

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

Preview Lab → · Contrast checker → · Palette generator →

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