#6825A6#6825A6

#6825A6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.192 H 302.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6825A6
RGBrgb(104, 37, 166)
HSLhsl(271, 64%, 40%)
HSVhsv(271, 78%, 65%)
CMYKcmyk(37.3%, 77.7%, 0%, 34.9%)
CIE-LABlab(31.85, 53.01, -56.72)
CIE-LCHlch(31.85, 77.64, 313.07°)
OKLaboklab(43.65% 0.103 -0.1618)
OKLCHoklch(43.65% 0.192 302.5)
XYZxyz(13.2518, 7.0193, 36.7257)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825A6 #63A625
analogous
#2825A6 #6825A6 #A625A4
triadic
#6825A6 #A66825 #25A668
tetradic
#6825A6 #A62825 #63A625 #25A4A6
square
#6825A6 #A62825 #63A625 #25A4A6
split-complementary
#6825A6 #A4A625 #25A628
monochromatic
#290F42 #491A74 #6825A6 #8736D2 #A568DD

Accessibility & contrast

On white

8.74
#6825A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6825A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825A6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825A6#FFFFFF#000000##FFFFFF
##6825A61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#5B4765
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6825a6;
/* rgb */ color: rgb(104, 37, 166);
/* oklch */ color: oklch(43.7% 0.192 302.5);
Tailwind
colors: {
  custom: {
    50: '#9967c1',
    500: '#6825a6',
    950: '#000000',
  },
}
SCSS
$custom: #6825a6;
$custom-light: #9967c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6825a6",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 271.163,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.19184,
    "h": 302.5
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#6825A6
secondary
#92C364
accent
#E74191
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6825A6

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

Preview Lab → · Contrast checker → · Palette generator →

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