#6823AC#6823AC

#6823AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.200 H 301.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6823AC
RGBrgb(104, 35, 172)
HSLhsl(270, 66%, 41%)
HSVhsv(270, 80%, 67%)
CMYKcmyk(39.5%, 79.7%, 0%, 32.5%)
CIE-LABlab(32.09, 55.24, -59.94)
CIE-LCHlch(32.09, 81.51, 312.66°)
OKLaboklab(43.98% 0.103 -0.1713)
OKLCHoklch(43.98% 0.2 301)
XYZxyz(13.7545, 7.1236, 39.6721)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823AC #67AC23
analogous
#2323AC #6823AC #AC23AB
triadic
#6823AC #AC6823 #23AC68
tetradic
#6823AC #AC2323 #67AC23 #23ABAC
square
#6823AC #AC2323 #67AC23 #23ABAC
split-complementary
#6823AC #ABAC23 #23AC23
monochromatic
#2B0E46 #491979 #6823AC #8736D6 #A569E0

Accessibility & contrast

On white

8.66
#6823AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6823AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823AC#FFFFFF#000000##FFFFFF
##6823AC1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#594868
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6823ac;
/* rgb */ color: rgb(104, 35, 172);
/* oklch */ color: oklch(44.0% 0.200 301.0);
Tailwind
colors: {
  custom: {
    50: '#9a67c6',
    500: '#6823ac',
    950: '#000000',
  },
}
SCSS
$custom: #6823ac;
$custom-light: #9a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6823ac",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 270.219,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43976,
    "c": 0.19986,
    "h": 301
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#6823AC
secondary
#95C664
accent
#E93F93
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6823AC

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

Preview Lab → · Contrast checker → · Palette generator →

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