#6823AA#6823AA

#6823AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.198 H 301.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6823AA
RGBrgb(104, 35, 170)
HSLhsl(271, 66%, 40%)
HSVhsv(271, 79%, 67%)
CMYKcmyk(38.8%, 79.4%, 0%, 33.3%)
CIE-LABlab(31.91, 54.76, -59.02)
CIE-LCHlch(31.91, 80.51, 312.86°)
OKLaboklab(43.8% 0.1036 -0.1686)
OKLCHoklch(43.8% 0.198 301.6)
XYZxyz(13.5639, 7.0473, 38.6681)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823AA #65AA23
analogous
#2523AA #6823AA #AA23A8
triadic
#6823AA #AA6823 #23AA68
tetradic
#6823AA #AA2523 #65AA23 #23A8AA
square
#6823AA #AA2523 #65AA23 #23A8AA
split-complementary
#6823AA #A8AA23 #23AA25
monochromatic
#2A0E44 #491977 #6823AA #8735D5 #A568E0

Accessibility & contrast

On white

8.72
#6823AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6823AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823AA#FFFFFF#000000##FFFFFF
##6823AA1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#594867
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6823aa;
/* rgb */ color: rgb(104, 35, 170);
/* oklch */ color: oklch(43.8% 0.198 301.6);
Tailwind
colors: {
  custom: {
    50: '#9a67c4',
    500: '#6823aa',
    950: '#000000',
  },
}
SCSS
$custom: #6823aa;
$custom-light: #9a67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6823aa",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 270.667,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43803,
    "c": 0.19786,
    "h": 301.6
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#6823AA
secondary
#93C663
accent
#E93F92
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6823AA

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

Preview Lab → · Contrast checker → · Palette generator →

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