#6827AC#6827AC

#6827AC is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.196 H 300.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6827AC
RGBrgb(104, 39, 172)
HSLhsl(269, 63%, 41%)
HSVhsv(269, 77%, 67%)
CMYKcmyk(39.5%, 77.3%, 0%, 32.5%)
CIE-LABlab(32.64, 53.64, -59.03)
CIE-LCHlch(32.64, 79.76, 312.26°)
OKLaboklab(44.36% 0.0997 -0.1687)
OKLCHoklch(44.36% 0.196 300.6)
XYZxyz(13.8790, 7.3725, 39.7136)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827AC #6BAC27
analogous
#2729AC #6827AC #AB27AC
triadic
#6827AC #AC6827 #27AC68
tetradic
#6827AC #AC2729 #6BAC27 #27ACAB
square
#6827AC #AC2729 #6BAC27 #27ACAB
split-complementary
#6827AC #ACAB27 #29AC27
monochromatic
#2C1048 #4A1C7A #6827AC #863DD3 #A56FDE

Accessibility & contrast

On white

8.49
#6827AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6827AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827AC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827AC#FFFFFF#000000##FFFFFF
##6827AC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#584A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6827ac;
/* rgb */ color: rgb(104, 39, 172);
/* oklch */ color: oklch(44.4% 0.196 300.6);
Tailwind
colors: {
  custom: {
    50: '#9a69c6',
    500: '#6827ac',
    950: '#000000',
  },
}
SCSS
$custom: #6827ac;
$custom-light: #9a69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6827ac",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 269.323,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44363,
    "c": 0.19594,
    "h": 300.6
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#6827AC
secondary
#98C56A
accent
#E64296
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6827AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6827AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva