#6827AA#6827AA

#6827AA is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.194 H 301.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6827AA
RGBrgb(104, 39, 170)
HSLhsl(270, 63%, 41%)
HSVhsv(270, 77%, 67%)
CMYKcmyk(38.8%, 77.1%, 0%, 33.3%)
CIE-LABlab(32.47, 53.15, -58.11)
CIE-LCHlch(32.47, 78.75, 312.45°)
OKLaboklab(44.19% 0.1003 -0.1659)
OKLCHoklch(44.19% 0.194 301.1)
XYZxyz(13.6884, 7.2963, 38.7096)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827AA #69AA27
analogous
#2728AA #6827AA #A927AA
triadic
#6827AA #AA6827 #27AA68
tetradic
#6827AA #AA2728 #69AA27 #27AAA9
square
#6827AA #AA2728 #69AA27 #27AAA9
split-complementary
#6827AA #AAA927 #28AA27
monochromatic
#2B1046 #4A1C78 #6827AA #873CD2 #A56EDE

Accessibility & contrast

On white

8.54
#6827AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6827AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6827AA#FFFFFF#000000##FFFFFF
##6827AA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#594967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6827aa;
/* rgb */ color: rgb(104, 39, 170);
/* oklch */ color: oklch(44.2% 0.194 301.1);
Tailwind
colors: {
  custom: {
    50: '#9968c4',
    500: '#6827aa',
    950: '#000000',
  },
}
SCSS
$custom: #6827aa;
$custom-light: #9968c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6827aa",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 269.771,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.19387,
    "h": 301.1
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#6827AA
secondary
#97C469
accent
#E64295
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6827AA

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

Preview Lab → · Contrast checker → · Palette generator →

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