#6823A8#6823A8

#6823A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.196 H 302.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6823A8
RGBrgb(104, 35, 168)
HSLhsl(271, 66%, 40%)
HSVhsv(271, 79%, 66%)
CMYKcmyk(38.1%, 79.2%, 0%, 34.1%)
CIE-LABlab(31.74, 54.28, -58.10)
CIE-LCHlch(31.74, 79.51, 313.06°)
OKLaboklab(43.63% 0.1041 -0.1659)
OKLCHoklch(43.63% 0.196 302.1)
XYZxyz(13.3761, 6.9722, 37.6793)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823A8 #63A823
analogous
#2623A8 #6823A8 #A823A5
triadic
#6823A8 #A86823 #23A868
tetradic
#6823A8 #A82623 #63A823 #23A5A8
square
#6823A8 #A82623 #63A823 #23A5A8
split-complementary
#6823A8 #A5A823 #23A826
monochromatic
#290E43 #491875 #6823A8 #8734D5 #A566DF

Accessibility & contrast

On white

8.77
#6823A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6823A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823A8#FFFFFF#000000##FFFFFF
##6823A81.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6823a8;
/* rgb */ color: rgb(104, 35, 168);
/* oklch */ color: oklch(43.6% 0.196 302.1);
Tailwind
colors: {
  custom: {
    50: '#9966c3',
    500: '#6823a8',
    950: '#000000',
  },
}
SCSS
$custom: #6823a8;
$custom-light: #9966c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6823a8",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 271.128,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.19586,
    "h": 302.1
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#6823A8
secondary
#92C562
accent
#E83F91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6823A8

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

Preview Lab → · Contrast checker → · Palette generator →

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