#6835A3#6835A3

#6835A3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.170 H 301.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6835A3
RGBrgb(104, 53, 163)
HSLhsl(268, 51%, 42%)
HSVhsv(268, 67%, 64%)
CMYKcmyk(36.2%, 67.5%, 0%, 36.1%)
CIE-LABlab(34.26, 44.83, -51.00)
CIE-LCHlch(34.26, 67.90, 311.32°)
OKLaboklab(45.29% 0.0876 -0.1451)
OKLCHoklch(45.29% 0.17 301.1)
XYZxyz(13.5913, 8.1335, 35.4971)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835A3 #70A335
analogous
#3539A3 #6835A3 #9F35A3
triadic
#6835A3 #A36835 #35A368
tetradic
#6835A3 #A33539 #70A335 #35A39F
square
#6835A3 #A33539 #70A335 #35A39F
split-complementary
#6835A3 #A39F35 #39A335
monochromatic
#2D1747 #4B2675 #6835A3 #864FC6 #A67ED5

Accessibility & contrast

On white

7.99
#6835A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6835A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835A3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835A3#FFFFFF#000000##FFFFFF
##6835A31.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#5B4E67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6835a3;
/* rgb */ color: rgb(104, 53, 163);
/* oklch */ color: oklch(45.3% 0.170 301.1);
Tailwind
colors: {
  custom: {
    50: '#9870bf',
    500: '#6835a3',
    950: '#000000',
  },
}
SCSS
$custom: #6835a3;
$custom-light: #9870bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6835a3",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 267.818,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.1695,
    "h": 301.1
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#6835A3
secondary
#9DBE76
accent
#DA4D99
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6835A3

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

Preview Lab → · Contrast checker → · Palette generator →

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