#6823A3#6823A3

#6823A3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.191 H 303.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6823A3
RGBrgb(104, 35, 163)
HSLhsl(272, 65%, 39%)
HSVhsv(272, 79%, 64%)
CMYKcmyk(36.2%, 78.5%, 0%, 36.1%)
CIE-LABlab(31.32, 53.10, -55.77)
CIE-LCHlch(31.32, 77.01, 313.60°)
OKLaboklab(43.21% 0.1055 -0.159)
OKLCHoklch(43.21% 0.191 303.6)
XYZxyz(12.9193, 6.7895, 35.2731)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823A3 #5EA323
analogous
#2823A3 #6823A3 #A3239E
triadic
#6823A3 #A36823 #23A368
tetradic
#6823A3 #A32823 #5EA323 #239EA3
square
#6823A3 #A32823 #5EA323 #239EA3
split-complementary
#6823A3 #9EA323 #23A328
monochromatic
#280D3E #481871 #6823A3 #8831D3 #A563DD

Accessibility & contrast

On white

8.91
#6823A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6823A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823A3#FFFFFF#000000##FFFFFF
##6823A31.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#5C4563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6823a3;
/* rgb */ color: rgb(104, 35, 163);
/* oklch */ color: oklch(43.2% 0.191 303.6);
Tailwind
colors: {
  custom: {
    50: '#9966bf',
    500: '#6823a3',
    950: '#000000',
  },
}
SCSS
$custom: #6823a3;
$custom-light: #9966bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6823a3",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 272.344,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43206,
    "c": 0.19083,
    "h": 303.6
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#6823A3
secondary
#8DC35F
accent
#E8408D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6823A3

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

Preview Lab → · Contrast checker → · Palette generator →

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