#6827A3#6827A3

#6827A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.187 H 303.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6827A3
RGBrgb(104, 39, 163)
HSLhsl(271, 61%, 40%)
HSVhsv(271, 76%, 64%)
CMYKcmyk(36.2%, 76.1%, 0%, 36.1%)
CIE-LABlab(31.89, 51.46, -54.84)
CIE-LCHlch(31.89, 75.20, 313.18°)
OKLaboklab(43.61% 0.102 -0.1563)
OKLCHoklch(43.61% 0.187 303.1)
XYZxyz(13.0437, 7.0384, 35.3146)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827A3 #62A327
analogous
#2A27A3 #6827A3 #A327A0
triadic
#6827A3 #A36827 #27A368
tetradic
#6827A3 #A32A27 #62A327 #27A0A3
square
#6827A3 #A32A27 #62A327 #27A0A3
split-complementary
#6827A3 #A0A327 #27A32A
monochromatic
#290F40 #481B72 #6827A3 #8738CF #A569DB

Accessibility & contrast

On white

8.72
#6827A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6827A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6827A3#FFFFFF#000000##FFFFFF
##6827A31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#5C4663
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6827a3;
/* rgb */ color: rgb(104, 39, 163);
/* oklch */ color: oklch(43.6% 0.187 303.1);
Tailwind
colors: {
  custom: {
    50: '#9968bf',
    500: '#6827a3',
    950: '#000000',
  },
}
SCSS
$custom: #6827a3;
$custom-light: #9968bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6827a3",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 271.452,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.18664,
    "h": 303.1
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#6827A3
secondary
#91C164
accent
#E44390
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6827A3

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

Preview Lab → · Contrast checker → · Palette generator →

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