#6832A2#6832A2

#6832A2 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.172 H 301.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6832A2
RGBrgb(104, 50, 162)
HSLhsl(269, 53%, 42%)
HSVhsv(269, 69%, 64%)
CMYKcmyk(35.8%, 69.1%, 0%, 36.5%)
CIE-LABlab(33.63, 46.10, -51.41)
CIE-LCHlch(33.63, 69.05, 311.88°)
OKLaboklab(44.82% 0.0911 -0.1463)
OKLCHoklch(44.82% 0.172 301.9)
XYZxyz(13.3696, 7.8328, 34.9829)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832A2 #6CA232
analogous
#3234A2 #6832A2 #A032A2
triadic
#6832A2 #A26832 #32A268
tetradic
#6832A2 #A23234 #6CA232 #32A2A0
square
#6832A2 #A23234 #6CA232 #32A2A0
split-complementary
#6832A2 #A2A032 #34A232
monochromatic
#2C1544 #4A2473 #6832A2 #864AC7 #A679D6

Accessibility & contrast

On white

8.18
#6832A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6832A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6832A2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6832A2#FFFFFF#000000##FFFFFF
##6832A21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#5C4C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6832a2;
/* rgb */ color: rgb(104, 50, 162);
/* oklch */ color: oklch(44.8% 0.172 301.9);
Tailwind
colors: {
  custom: {
    50: '#986ebe',
    500: '#6832a2',
    950: '#000000',
  },
}
SCSS
$custom: #6832a2;
$custom-light: #986ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#6832a2",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 268.929,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.17233,
    "h": 301.9
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#6832A2
secondary
#99BE72
accent
#DC4C96
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6832A2

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

Preview Lab → · Contrast checker → · Palette generator →

#6832A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva