#6823A4#6823A4

#6823A4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.192 H 303.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6823A4
RGBrgb(104, 35, 164)
HSLhsl(272, 65%, 39%)
HSVhsv(272, 79%, 64%)
CMYKcmyk(36.6%, 78.7%, 0%, 35.7%)
CIE-LABlab(31.41, 53.34, -56.24)
CIE-LCHlch(31.41, 77.51, 313.49°)
OKLaboklab(43.29% 0.1052 -0.1604)
OKLCHoklch(43.29% 0.192 303.3)
XYZxyz(13.0092, 6.8255, 35.7468)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823A4 #5FA423
analogous
#2823A4 #6823A4 #A423A0
triadic
#6823A4 #A46823 #23A468
tetradic
#6823A4 #A42823 #5FA423 #23A0A4
square
#6823A4 #A42823 #5FA423 #23A0A4
split-complementary
#6823A4 #A0A423 #23A428
monochromatic
#280D3F #481872 #6823A4 #8831D3 #A564DE

Accessibility & contrast

On white

8.88
#6823A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6823A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823A4#FFFFFF#000000##FFFFFF
##6823A41.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#5C4563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6823a4;
/* rgb */ color: rgb(104, 35, 164);
/* oklch */ color: oklch(43.3% 0.192 303.3);
Tailwind
colors: {
  custom: {
    50: '#9966c0',
    500: '#6823a4',
    950: '#000000',
  },
}
SCSS
$custom: #6823a4;
$custom-light: #9966c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6823a4",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 272.093,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43291,
    "c": 0.19184,
    "h": 303.3
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#6823A4
secondary
#8EC360
accent
#E8408E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6823A4

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

Preview Lab → · Contrast checker → · Palette generator →

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