#6824A4#6824A4

#6824A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.191 H 303.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#6824A4
RGBrgb(104, 36, 164)
HSLhsl(272, 64%, 39%)
HSVhsv(272, 78%, 64%)
CMYKcmyk(36.6%, 78%, 0%, 35.7%)
CIE-LABlab(31.54, 52.94, -56.01)
CIE-LCHlch(31.54, 77.07, 313.39°)
OKLaboklab(43.39% 0.1044 -0.1598)
OKLCHoklch(43.39% 0.191 303.2)
XYZxyz(13.0391, 6.8851, 35.7568)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824A4 #60A424
analogous
#2824A4 #6824A4 #A424A0
triadic
#6824A4 #A46824 #24A468
tetradic
#6824A4 #A42824 #60A424 #24A0A4
square
#6824A4 #A42824 #60A424 #24A0A4
split-complementary
#6824A4 #A0A424 #24A428
monochromatic
#280E40 #481972 #6824A4 #8833D2 #A565DD

Accessibility & contrast

On white

8.83
#6824A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6824A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824A4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824A4#FFFFFF#000000##FFFFFF
##6824A41.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#5C4563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6824a4;
/* rgb */ color: rgb(104, 36, 164);
/* oklch */ color: oklch(43.4% 0.191 303.2);
Tailwind
colors: {
  custom: {
    50: '#9967c0',
    500: '#6824a4',
    950: '#000000',
  },
}
SCSS
$custom: #6824a4;
$custom-light: #9967c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6824a4",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 271.875,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43387,
    "c": 0.19083,
    "h": 303.2
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#6824A4
secondary
#8FC361
accent
#E7418F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6824A4

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

Preview Lab → · Contrast checker → · Palette generator →

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