#6825A2#6825A2

#6825A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.188 H 303.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6825A2
RGBrgb(104, 37, 162)
HSLhsl(272, 63%, 39%)
HSVhsv(272, 77%, 64%)
CMYKcmyk(35.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(31.52, 52.06, -54.84)
CIE-LCHlch(31.52, 75.62, 313.51°)
OKLaboklab(43.32% 0.104 -0.1563)
OKLCHoklch(43.32% 0.188 303.6)
XYZxyz(12.8906, 6.8748, 34.8233)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825A2 #5FA225
analogous
#2A25A2 #6825A2 #A2259E
triadic
#6825A2 #A26825 #25A268
tetradic
#6825A2 #A22A25 #5FA225 #259EA2
square
#6825A2 #A22A25 #5FA225 #259EA2
split-complementary
#6825A2 #9EA225 #25A22A
monochromatic
#280E3E #481A70 #6825A2 #8834D1 #A565DC

Accessibility & contrast

On white

8.84
#6825A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6825A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825A2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825A2#FFFFFF#000000##FFFFFF
##6825A21.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6825a2;
/* rgb */ color: rgb(104, 37, 162);
/* oklch */ color: oklch(43.3% 0.188 303.6);
Tailwind
colors: {
  custom: {
    50: '#9967be',
    500: '#6825a2',
    950: '#000000',
  },
}
SCSS
$custom: #6825a2;
$custom-light: #9967be;
$custom-dark: #000000;
JSON
{
  "hex": "#6825a2",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 272.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43319,
    "c": 0.18776,
    "h": 303.6
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#6825A2
secondary
#8EC261
accent
#E6428E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6825A2

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

Preview Lab → · Contrast checker → · Palette generator →

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