#6835B4#6835B4

#6835B4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.189 H 296.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6835B4
RGBrgb(104, 53, 180)
HSLhsl(264, 55%, 46%)
HSVhsv(264, 71%, 71%)
CMYKcmyk(42.2%, 70.6%, 0%, 29.4%)
CIE-LABlab(35.57, 49.24, -59.03)
CIE-LCHlch(35.57, 76.87, 309.83°)
OKLaboklab(46.63% 0.085 -0.1687)
OKLCHoklch(46.63% 0.189 296.7)
XYZxyz(15.2181, 8.7842, 44.0649)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835B4 #81B435
analogous
#3542B4 #6835B4 #A735B4
triadic
#6835B4 #B46835 #35B468
tetradic
#6835B4 #B43542 #81B435 #35B4A7
square
#6835B4 #B43542 #81B435 #35B4A7
split-complementary
#6835B4 #B4A735 #42B435
monochromatic
#311955 #4D2785 #6835B4 #8858CE #A988DC

Accessibility & contrast

On white

7.62
#6835B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6835B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835B4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835B4#FFFFFF#000000##FFFFFF
##6835B41.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#545471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6835b4;
/* rgb */ color: rgb(104, 53, 180);
/* oklch */ color: oklch(46.6% 0.189 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a70cb',
    500: '#6835b4',
    950: '#000000',
  },
}
SCSS
$custom: #6835b4;
$custom-light: #9a70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6835b4",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 264.094,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.18893,
    "h": 296.7
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#6835B4
secondary
#A9C67F
accent
#DE4AA2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6835B4

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

Preview Lab → · Contrast checker → · Palette generator →

#6835B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva