#6824A0#6824A0

#6824A0 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.187 H 304.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#6824A0
RGBrgb(104, 36, 160)
HSLhsl(273, 63%, 38%)
HSVhsv(273, 78%, 63%)
CMYKcmyk(35%, 77.5%, 0%, 37.3%)
CIE-LABlab(31.21, 52.00, -54.13)
CIE-LCHlch(31.21, 75.06, 313.85°)
OKLaboklab(43.05% 0.1054 -0.1542)
OKLCHoklch(43.05% 0.187 304.3)
XYZxyz(12.6835, 6.7429, 33.8842)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6824A0 #5CA024
analogous
#2A24A0 #6824A0 #A0249A
triadic
#6824A0 #A06824 #24A068
tetradic
#6824A0 #A02A24 #5CA024 #249AA0
square
#6824A0 #A02A24 #5CA024 #249AA0
split-complementary
#6824A0 #9AA024 #24A02A
monochromatic
#270E3C #48196E #6824A0 #8831D1 #A563DC

Accessibility & contrast

On white

8.94
#6824A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6824A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6824A0
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6824A0#FFFFFF#000000##FFFFFF
##6824A01.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#5D4461
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6824a0;
/* rgb */ color: rgb(104, 36, 160);
/* oklch */ color: oklch(43.1% 0.187 304.3);
Tailwind
colors: {
  custom: {
    50: '#9967bd',
    500: '#6824a0',
    950: '#000000',
  },
}
SCSS
$custom: #6824a0;
$custom-light: #9967bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6824a0",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 272.903,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43053,
    "c": 0.18677,
    "h": 304.3
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#6824A0
secondary
#8BC15F
accent
#E6418C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6824A0

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

Preview Lab → · Contrast checker → · Palette generator →

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