#6832AF#6832AF

#6832AF is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.187 H 298.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6832AF
RGBrgb(104, 50, 175)
HSLhsl(266, 56%, 44%)
HSVhsv(266, 71%, 69%)
CMYKcmyk(40.6%, 71.4%, 0%, 31.4%)
CIE-LABlab(34.64, 49.42, -57.57)
CIE-LCHlch(34.64, 75.87, 310.64°)
OKLaboklab(45.85% 0.0889 -0.1644)
OKLCHoklch(45.85% 0.187 298.4)
XYZxyz(14.5854, 8.3192, 41.3865)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6832AF #79AF32
analogous
#323BAF #6832AF #A732AF
triadic
#6832AF #AF6832 #32AF68
tetradic
#6832AF #AF323B #79AF32 #32AFA7
square
#6832AF #AF323B #79AF32 #32AFA7
split-complementary
#6832AF #AFA732 #3BAF32
monochromatic
#2F1750 #4C247F #6832AF #8751CD #A881DB

Accessibility & contrast

On white

7.88
#6832AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6832AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6832AF#FFFFFF#000000##FFFFFF
##6832AF1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#57516D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6832af;
/* rgb */ color: rgb(104, 50, 175);
/* oklch */ color: oklch(45.8% 0.187 298.4);
Tailwind
colors: {
  custom: {
    50: '#996ec8',
    500: '#6832af',
    950: '#000000',
  },
}
SCSS
$custom: #6832af;
$custom-light: #996ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6832af",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 265.92,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.18691,
    "h": 298.4
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#6832AF
secondary
#A4C479
accent
#DF499E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6832AF

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

Preview Lab → · Contrast checker → · Palette generator →

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