#6824A2#6824A2

#6824A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.189 H 303.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6824A2
RGBrgb(104, 36, 162)
HSLhsl(272, 64%, 39%)
HSVhsv(272, 78%, 64%)
CMYKcmyk(35.8%, 77.8%, 0%, 36.5%)
CIE-LABlab(31.38, 52.47, -55.07)
CIE-LCHlch(31.38, 76.07, 313.61°)
OKLaboklab(43.22% 0.1049 -0.157)
OKLCHoklch(43.22% 0.189 303.7)
XYZxyz(12.8599, 6.8135, 34.8131)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824A2 #5EA224
analogous
#2924A2 #6824A2 #A2249D
triadic
#6824A2 #A26824 #24A268
tetradic
#6824A2 #A22924 #5EA224 #249DA2
square
#6824A2 #A22924 #5EA224 #249DA2
split-complementary
#6824A2 #9DA224 #24A229
monochromatic
#280E3E #481970 #6824A2 #8832D1 #A564DD

Accessibility & contrast

On white

8.89
#6824A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6824A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824A2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824A2#FFFFFF#000000##FFFFFF
##6824A21.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#5C4562
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6824a2;
/* rgb */ color: rgb(104, 36, 162);
/* oklch */ color: oklch(43.2% 0.189 303.7);
Tailwind
colors: {
  custom: {
    50: '#9967be',
    500: '#6824a2',
    950: '#000000',
  },
}
SCSS
$custom: #6824a2;
$custom-light: #9967be;
$custom-dark: #000000;
JSON
{
  "hex": "#6824a2",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 272.381,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4322,
    "c": 0.1888,
    "h": 303.7
  },
  "luminance": 0.06813
}

Semantic roles & 50–950 ramp

primary
#6824A2
secondary
#8DC260
accent
#E7418D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6824A2

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

Preview Lab → · Contrast checker → · Palette generator →

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