#6825AA#6825AA

#6825AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.196 H 301.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6825AA
RGBrgb(104, 37, 170)
HSLhsl(270, 64%, 41%)
HSVhsv(270, 78%, 67%)
CMYKcmyk(38.8%, 78.2%, 0%, 33.3%)
CIE-LABlab(32.19, 53.97, -58.58)
CIE-LCHlch(32.19, 79.65, 312.66°)
OKLaboklab(43.99% 0.102 -0.1673)
OKLCHoklch(43.99% 0.196 301.4)
XYZxyz(13.6244, 7.1684, 38.6883)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825AA #67AA25
analogous
#2625AA #6825AA #AA25A9
triadic
#6825AA #AA6825 #25AA68
tetradic
#6825AA #AA2625 #67AA25 #25A9AA
square
#6825AA #AA2625 #67AA25 #25A9AA
split-complementary
#6825AA #A9AA25 #25AA26
monochromatic
#2B0F45 #491A78 #6825AA #8738D4 #A56BDF

Accessibility & contrast

On white

8.63
#6825AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6825AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6825AA#FFFFFF#000000##FFFFFF
##6825AA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#594867
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6825aa;
/* rgb */ color: rgb(104, 37, 170);
/* oklch */ color: oklch(44.0% 0.196 301.4);
Tailwind
colors: {
  custom: {
    50: '#9968c4',
    500: '#6825aa',
    950: '#000000',
  },
}
SCSS
$custom: #6825aa;
$custom-light: #9968c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6825aa",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 270.226,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.19591,
    "h": 301.4
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#6825AA
secondary
#95C566
accent
#E74193
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6825AA

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

Preview Lab → · Contrast checker → · Palette generator →

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