#6824AC#6824AC

#6824AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.199 H 300.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6824AC
RGBrgb(104, 36, 172)
HSLhsl(270, 65%, 41%)
HSVhsv(270, 79%, 67%)
CMYKcmyk(39.5%, 79.1%, 0%, 32.5%)
CIE-LABlab(32.22, 54.85, -59.72)
CIE-LCHlch(32.22, 81.09, 312.57°)
OKLaboklab(44.07% 0.1022 -0.1706)
OKLCHoklch(44.07% 0.199 300.9)
XYZxyz(13.7844, 7.1833, 39.6820)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824AC #68AC24
analogous
#2424AC #6824AC #AC24AC
triadic
#6824AC #AC6824 #24AC68
tetradic
#6824AC #AC2424 #68AC24 #24ACAC
square
#6824AC #AC2424 #68AC24 #24ACAC
split-complementary
#6824AC #ACAC24 #24AC24
monochromatic
#2B0F47 #491979 #6824AC #8738D5 #A56AE0

Accessibility & contrast

On white

8.62
#6824AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6824AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824AC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824AC#FFFFFF#000000##FFFFFF
##6824AC1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#584968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6824ac;
/* rgb */ color: rgb(104, 36, 172);
/* oklch */ color: oklch(44.1% 0.199 300.9);
Tailwind
colors: {
  custom: {
    50: '#9a67c6',
    500: '#6824ac',
    950: '#000000',
  },
}
SCSS
$custom: #6824ac;
$custom-light: #9a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6824ac",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.19892,
    "h": 300.9
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#6824AC
secondary
#96C666
accent
#E83F94
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6824AC

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

Preview Lab → · Contrast checker → · Palette generator →

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