#6827AD#6827AD

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

Color values

HEX#6827AD
RGBrgb(104, 39, 173)
HSLhsl(269, 63%, 42%)
HSVhsv(269, 77%, 68%)
CMYKcmyk(39.9%, 77.5%, 0%, 32.2%)
CIE-LABlab(32.73, 53.88, -59.49)
CIE-LCHlch(32.73, 80.27, 312.17°)
OKLaboklab(44.45% 0.0995 -0.17)
OKLCHoklch(44.45% 0.197 300.3)
XYZxyz(13.9754, 7.4111, 40.2213)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827AD #6CAD27
analogous
#2729AD #6827AD #AB27AD
triadic
#6827AD #AD6827 #27AD68
tetradic
#6827AD #AD2729 #6CAD27 #27ADAB
square
#6827AD #AD2729 #6CAD27 #27ADAB
split-complementary
#6827AD #ADAB27 #29AD27
monochromatic
#2C1049 #4A1C7B #6827AD #863ED3 #A670DF

Accessibility & contrast

On white

8.46
#6827AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6827AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6827AD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6827AD#FFFFFF#000000##FFFFFF
##6827AD1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#584B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6827ad;
/* rgb */ color: rgb(104, 39, 173);
/* oklch */ color: oklch(44.4% 0.197 300.3);
Tailwind
colors: {
  custom: {
    50: '#9a69c6',
    500: '#6827ad',
    950: '#000000',
  },
}
SCSS
$custom: #6827ad;
$custom-light: #9a69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6827ad",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 269.104,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44448,
    "c": 0.19697,
    "h": 300.3
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#6827AD
secondary
#99C66A
accent
#E64296
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6827AD

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

Preview Lab → · Contrast checker → · Palette generator →

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