#6824AD#6824AD

#6824AD is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.2% C 0.200 H 300.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6824AD
RGBrgb(104, 36, 173)
HSLhsl(270, 66%, 41%)
HSVhsv(270, 79%, 68%)
CMYKcmyk(39.9%, 79.2%, 0%, 32.2%)
CIE-LABlab(32.31, 55.09, -60.18)
CIE-LCHlch(32.31, 81.59, 312.47°)
OKLaboklab(44.16% 0.1019 -0.172)
OKLCHoklch(44.16% 0.2 300.7)
XYZxyz(13.8807, 7.2218, 40.1897)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824AD #69AD24
analogous
#2424AD #6824AD #AC24AD
triadic
#6824AD #AD6824 #24AD68
tetradic
#6824AD #AD2424 #69AD24 #24ADAC
square
#6824AD #AD2424 #69AD24 #24ADAC
split-complementary
#6824AD #ADAC24 #24AD24
monochromatic
#2B0F48 #4A197A #6824AD #8739D6 #A56BE0

Accessibility & contrast

On white

8.59
#6824AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6824AD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824AD#FFFFFF#000000##FFFFFF
##6824AD1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#584969
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6824ad;
/* rgb */ color: rgb(104, 36, 173);
/* oklch */ color: oklch(44.2% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#9a67c6',
    500: '#6824ad',
    950: '#000000',
  },
}
SCSS
$custom: #6824ad;
$custom-light: #9a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6824ad",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 269.781,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.19993,
    "h": 300.7
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#6824AD
secondary
#97C666
accent
#E93F95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6824AD

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

Preview Lab → · Contrast checker → · Palette generator →

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