#6827AE#6827AE

#6827AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.198 H 300.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6827AE
RGBrgb(104, 39, 174)
HSLhsl(269, 63%, 42%)
HSVhsv(269, 78%, 68%)
CMYKcmyk(40.2%, 77.6%, 0%, 31.8%)
CIE-LABlab(32.81, 54.13, -59.95)
CIE-LCHlch(32.81, 80.77, 312.08°)
OKLaboklab(44.53% 0.0992 -0.1714)
OKLCHoklch(44.53% 0.198 300.1)
XYZxyz(14.0725, 7.4499, 40.7328)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827AE #6DAE27
analogous
#272AAE #6827AE #AC27AE
triadic
#6827AE #AE6827 #27AE68
tetradic
#6827AE #AE272A #6DAE27 #27AEAC
square
#6827AE #AE272A #6DAE27 #27AEAC
split-complementary
#6827AE #AEAC27 #2AAE27
monochromatic
#2C114A #4A1C7C #6827AE #863ED4 #A670DF

Accessibility & contrast

On white

8.43
#6827AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6827AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827AE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827AE#FFFFFF#000000##FFFFFF
##6827AE1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#584B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6827ae;
/* rgb */ color: rgb(104, 39, 174);
/* oklch */ color: oklch(44.5% 0.198 300.1);
Tailwind
colors: {
  custom: {
    50: '#9a69c7',
    500: '#6827ae',
    950: '#000000',
  },
}
SCSS
$custom: #6827ae;
$custom-light: #9a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6827ae",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 268.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.198,
    "h": 300.1
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#6827AE
secondary
#9AC66B
accent
#E64197
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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