#6832B1#6832B1

#6832B1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.189 H 297.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6832B1
RGBrgb(104, 50, 177)
HSLhsl(266, 56%, 45%)
HSVhsv(266, 72%, 69%)
CMYKcmyk(41.2%, 71.8%, 0%, 30.6%)
CIE-LABlab(34.80, 49.93, -58.50)
CIE-LCHlch(34.80, 76.91, 310.48°)
OKLaboklab(46.01% 0.0885 -0.1671)
OKLCHoklch(46.01% 0.189 297.9)
XYZxyz(14.7833, 8.3983, 42.4286)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832B1 #7BB132
analogous
#323BB1 #6832B1 #A832B1
triadic
#6832B1 #B16832 #32B168
tetradic
#6832B1 #B1323B #7BB132 #32B1A8
square
#6832B1 #B1323B #7BB132 #32B1A8
split-complementary
#6832B1 #B1A832 #3BB132
monochromatic
#301752 #4C2581 #6832B1 #8752CE #A882DC

Accessibility & contrast

On white

7.84
#6832B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6832B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6832B1#FFFFFF#000000##FFFFFF
##6832B11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#56526E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6832b1;
/* rgb */ color: rgb(104, 50, 177);
/* oklch */ color: oklch(46.0% 0.189 297.9);
Tailwind
colors: {
  custom: {
    50: '#996fc9',
    500: '#6832b1',
    950: '#000000',
  },
}
SCSS
$custom: #6832b1;
$custom-light: #996fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6832b1",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 265.512,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.18914,
    "h": 297.9
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#6832B1
secondary
#A5C57A
accent
#DF499F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6832B1

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

Preview Lab → · Contrast checker → · Palette generator →

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