#6832AA#6832AA

#6832AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.181 H 299.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6832AA
RGBrgb(104, 50, 170)
HSLhsl(267, 55%, 43%)
HSVhsv(267, 71%, 67%)
CMYKcmyk(38.8%, 70.6%, 0%, 33.3%)
CIE-LABlab(34.24, 48.13, -55.22)
CIE-LCHlch(34.24, 73.26, 311.08°)
OKLaboklab(45.45% 0.0898 -0.1575)
OKLCHoklch(45.45% 0.181 299.7)
XYZxyz(14.1034, 8.1264, 38.8479)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832AA #74AA32
analogous
#3238AA #6832AA #A432AA
triadic
#6832AA #AA6832 #32AA68
tetradic
#6832AA #AA3238 #74AA32 #32AAA4
square
#6832AA #AA3238 #74AA32 #32AAA4
split-complementary
#6832AA #AAA432 #38AA32
monochromatic
#2E164B #4B247B #6832AA #864ECB #A77DD9

Accessibility & contrast

On white

8.00
#6832AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6832AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6832AA#FFFFFF#000000##FFFFFF
##6832AA1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#594F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6832aa;
/* rgb */ color: rgb(104, 50, 170);
/* oklch */ color: oklch(45.4% 0.181 299.7);
Tailwind
colors: {
  custom: {
    50: '#996ec4',
    500: '#6832aa',
    950: '#000000',
  },
}
SCSS
$custom: #6832aa;
$custom-light: #996ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6832aa",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 267,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.18132,
    "h": 299.7
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#6832AA
secondary
#A0C276
accent
#DE4A9B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6832AA

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

Preview Lab → · Contrast checker → · Palette generator →

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