#6825A4#6825A4

#6825A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.190 H 303.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6825A4
RGBrgb(104, 37, 164)
HSLhsl(272, 63%, 39%)
HSVhsv(272, 77%, 64%)
CMYKcmyk(36.6%, 77.4%, 0%, 35.7%)
CIE-LABlab(31.68, 52.54, -55.78)
CIE-LCHlch(31.68, 76.63, 313.28°)
OKLaboklab(43.49% 0.1035 -0.1591)
OKLCHoklch(43.49% 0.19 303)
XYZxyz(13.0697, 6.9465, 35.7670)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825A4 #61A425
analogous
#2925A4 #6825A4 #A425A0
triadic
#6825A4 #A46825 #25A468
tetradic
#6825A4 #A42925 #61A425 #25A0A4
square
#6825A4 #A42925 #61A425 #25A0A4
split-complementary
#6825A4 #A0A425 #25A429
monochromatic
#290E40 #481A72 #6825A4 #8735D1 #A567DD

Accessibility & contrast

On white

8.79
#6825A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6825A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825A4
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825A4#FFFFFF#000000##FFFFFF
##6825A41.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#5C4664
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6825a4;
/* rgb */ color: rgb(104, 37, 164);
/* oklch */ color: oklch(43.5% 0.190 303.0);
Tailwind
colors: {
  custom: {
    50: '#9967c0',
    500: '#6825a4',
    950: '#000000',
  },
}
SCSS
$custom: #6825a4;
$custom-light: #9967c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6825a4",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 271.654,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.18979,
    "h": 303
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#6825A4
secondary
#90C262
accent
#E6428F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6825A4

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

Preview Lab → · Contrast checker → · Palette generator →

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