#6824A7#6824A7

#6824A7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.194 H 302.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6824A7
RGBrgb(104, 36, 167)
HSLhsl(271, 65%, 40%)
HSVhsv(271, 78%, 65%)
CMYKcmyk(37.7%, 78.4%, 0%, 34.5%)
CIE-LABlab(31.80, 53.65, -57.41)
CIE-LCHlch(31.80, 78.58, 313.06°)
OKLaboklab(43.64% 0.1036 -0.1639)
OKLCHoklch(43.64% 0.194 302.3)
XYZxyz(13.3132, 6.9948, 37.2005)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824A7 #63A724
analogous
#2724A7 #6824A7 #A724A5
triadic
#6824A7 #A76824 #24A768
tetradic
#6824A7 #A72724 #63A724 #24A5A7
square
#6824A7 #A72724 #63A724 #24A5A7
split-complementary
#6824A7 #A5A724 #24A727
monochromatic
#290E42 #491975 #6824A7 #8735D3 #A567DE

Accessibility & contrast

On white

8.75
#6824A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6824A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824A7
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824A7#FFFFFF#000000##FFFFFF
##6824A71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#5A4765
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6824a7;
/* rgb */ color: rgb(104, 36, 167);
/* oklch */ color: oklch(43.6% 0.194 302.3);
Tailwind
colors: {
  custom: {
    50: '#9967c2',
    500: '#6824a7',
    950: '#000000',
  },
}
SCSS
$custom: #6824a7;
$custom-light: #9967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6824a7",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 271.145,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4364,
    "c": 0.19386,
    "h": 302.3
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#6824A7
secondary
#92C463
accent
#E84091
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6824A7

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

Preview Lab → · Contrast checker → · Palette generator →

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