#6823AD#6823AD

#6823AD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.201 H 300.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6823AD
RGBrgb(104, 35, 173)
HSLhsl(270, 66%, 41%)
HSVhsv(270, 80%, 68%)
CMYKcmyk(39.9%, 79.8%, 0%, 32.2%)
CIE-LABlab(32.17, 55.47, -60.40)
CIE-LCHlch(32.17, 82.01, 312.57°)
OKLaboklab(44.06% 0.1027 -0.1726)
OKLCHoklch(44.06% 0.201 300.8)
XYZxyz(13.8509, 7.1621, 40.1798)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823AD #68AD23
analogous
#2323AD #6823AD #AD23AD
triadic
#6823AD #AD6823 #23AD68
tetradic
#6823AD #AD2323 #68AD23 #23ADAD
square
#6823AD #AD2323 #68AD23 #23ADAD
split-complementary
#6823AD #ADAD23 #23AD23
monochromatic
#2B0E47 #49197A #6823AD #8737D6 #A56AE1

Accessibility & contrast

On white

8.63
#6823AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6823AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823AD#FFFFFF#000000##FFFFFF
##6823AD1.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)
#004BB1
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#584968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6823ad;
/* rgb */ color: rgb(104, 35, 173);
/* oklch */ color: oklch(44.1% 0.201 300.8);
Tailwind
colors: {
  custom: {
    50: '#9a67c6',
    500: '#6823ad',
    950: '#000000',
  },
}
SCSS
$custom: #6823ad;
$custom-light: #9a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6823ad",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 270,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44063,
    "c": 0.20087,
    "h": 300.8
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#6823AD
secondary
#96C765
accent
#E93F94
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6823AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6823AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva