#6835A5#6835A5

#6835A5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.172 H 300.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6835A5
RGBrgb(104, 53, 165)
HSLhsl(267, 51%, 43%)
HSVhsv(267, 68%, 65%)
CMYKcmyk(37%, 67.9%, 0%, 35.3%)
CIE-LABlab(34.41, 45.34, -51.96)
CIE-LCHlch(34.41, 68.96, 311.11°)
OKLaboklab(45.44% 0.0874 -0.1479)
OKLCHoklch(45.44% 0.172 300.6)
XYZxyz(13.7719, 8.2058, 36.4483)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835A5 #72A535
analogous
#353AA5 #6835A5 #A035A5
triadic
#6835A5 #A56835 #35A568
tetradic
#6835A5 #A5353A #72A535 #35A5A0
square
#6835A5 #A5353A #72A535 #35A5A0
split-complementary
#6835A5 #A5A035 #3AA535
monochromatic
#2E1748 #4B2677 #6835A5 #8650C7 #A67FD6

Accessibility & contrast

On white

7.95
#6835A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6835A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835A5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835A5#FFFFFF#000000##FFFFFF
##6835A51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#5B4F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6835a5;
/* rgb */ color: rgb(104, 53, 165);
/* oklch */ color: oklch(45.4% 0.172 300.6);
Tailwind
colors: {
  custom: {
    50: '#9870c0',
    500: '#6835a5',
    950: '#000000',
  },
}
SCSS
$custom: #6835a5;
$custom-light: #9870c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6835a5",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 267.321,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.1718,
    "h": 300.6
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#6835A5
secondary
#9EBF77
accent
#DB4D9A
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6835A5

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

Preview Lab → · Contrast checker → · Palette generator →

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