#6823AF#6823AF

#6823AF is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.203 H 300.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#6823AF
RGBrgb(104, 35, 175)
HSLhsl(270, 67%, 41%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(40.6%, 80%, 0%, 31.4%)
CIE-LABlab(32.35, 55.95, -61.31)
CIE-LCHlch(32.35, 83.00, 312.39°)
OKLaboklab(44.24% 0.1021 -0.1753)
OKLCHoklch(44.24% 0.203 300.2)
XYZxyz(14.0459, 7.2401, 41.2066)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823AF #6AAF23
analogous
#2324AF #6823AF #AE23AF
triadic
#6823AF #AF6823 #23AF68
tetradic
#6823AF #AF2324 #6AAF23 #23AFAE
square
#6823AF #AF2324 #6AAF23 #23AFAE
split-complementary
#6823AF #AFAE23 #24AF23
monochromatic
#2B0F49 #4A197C #6823AF #8638D7 #A56BE1

Accessibility & contrast

On white

8.58
#6823AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6823AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6823AF#FFFFFF#000000##FFFFFF
##6823AF1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#574A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6823af;
/* rgb */ color: rgb(104, 35, 175);
/* oklch */ color: oklch(44.2% 0.203 300.2);
Tailwind
colors: {
  custom: {
    50: '#9a67c8',
    500: '#6823af',
    950: '#000000',
  },
}
SCSS
$custom: #6823af;
$custom-light: #9a67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6823af",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 269.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.20288,
    "h": 300.2
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#6823AF
secondary
#98C766
accent
#EA3E95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6823AF

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

Preview Lab → · Contrast checker → · Palette generator →

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