#6825A8#6825A8

#6825A8 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.194 H 301.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6825A8
RGBrgb(104, 37, 168)
HSLhsl(271, 64%, 40%)
HSVhsv(271, 78%, 66%)
CMYKcmyk(38.1%, 78%, 0%, 34.1%)
CIE-LABlab(32.02, 53.49, -57.65)
CIE-LCHlch(32.02, 78.64, 312.86°)
OKLaboklab(43.82% 0.1025 -0.1646)
OKLCHoklch(43.82% 0.194 301.9)
XYZxyz(13.4367, 7.0933, 37.6994)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825A8 #65A825
analogous
#2725A8 #6825A8 #A825A6
triadic
#6825A8 #A86825 #25A868
tetradic
#6825A8 #A82725 #65A825 #25A6A8
square
#6825A8 #A82725 #65A825 #25A6A8
split-complementary
#6825A8 #A6A825 #25A827
monochromatic
#2A0F44 #491A76 #6825A8 #8737D3 #A569DE

Accessibility & contrast

On white

8.68
#6825A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6825A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6825A8#FFFFFF#000000##FFFFFF
##6825A81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#5A4866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6825a8;
/* rgb */ color: rgb(104, 37, 168);
/* oklch */ color: oklch(43.8% 0.194 301.9);
Tailwind
colors: {
  custom: {
    50: '#9967c3',
    500: '#6825a8',
    950: '#000000',
  },
}
SCSS
$custom: #6825a8;
$custom-light: #9967c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6825a8",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 270.687,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.19387,
    "h": 301.9
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#6825A8
secondary
#93C465
accent
#E74192
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6825A8

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

Preview Lab → · Contrast checker → · Palette generator →

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