#6827A4#6827A4

#6827A4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.188 H 302.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6827A4
RGBrgb(104, 39, 164)
HSLhsl(271, 62%, 40%)
HSVhsv(271, 76%, 64%)
CMYKcmyk(36.6%, 76.2%, 0%, 35.7%)
CIE-LABlab(31.98, 51.70, -55.31)
CIE-LCHlch(31.98, 75.71, 313.07°)
OKLaboklab(43.69% 0.1017 -0.1577)
OKLCHoklch(43.69% 0.188 302.8)
XYZxyz(13.1337, 7.0744, 35.7883)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6827A4 #63A427
analogous
#2A27A4 #6827A4 #A427A1
triadic
#6827A4 #A46827 #27A468
tetradic
#6827A4 #A42A27 #63A427 #27A1A4
square
#6827A4 #A42A27 #63A427 #27A1A4
split-complementary
#6827A4 #A1A427 #27A42A
monochromatic
#290F41 #491B73 #6827A4 #8738D0 #A56ADC

Accessibility & contrast

On white

8.70
#6827A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##6827A4#FFFFFF#000000##FFFFFF
##6827A41.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#5C4764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6827a4;
/* rgb */ color: rgb(104, 39, 164);
/* oklch */ color: oklch(43.7% 0.188 302.8);
Tailwind
colors: {
  custom: {
    50: '#9968c0',
    500: '#6827a4',
    950: '#000000',
  },
}
SCSS
$custom: #6827a4;
$custom-light: #9968c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6827a4",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 271.2,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.18767,
    "h": 302.8
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#6827A4
secondary
#92C265
accent
#E54391
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6827A4

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

Preview Lab → · Contrast checker → · Palette generator →

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