#6823B0#6823B0

#6823B0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.204 H 300.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6823B0
RGBrgb(104, 35, 176)
HSLhsl(269, 67%, 41%)
HSVhsv(269, 80%, 69%)
CMYKcmyk(40.9%, 80.1%, 0%, 31%)
CIE-LABlab(32.44, 56.19, -61.76)
CIE-LCHlch(32.44, 83.50, 312.30°)
OKLaboklab(44.33% 0.1018 -0.1766)
OKLCHoklch(44.33% 0.204 300)
XYZxyz(14.1445, 7.2796, 41.7258)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823B0 #6BB023
analogous
#2324B0 #6823B0 #AF23B0
triadic
#6823B0 #B06823 #23B068
tetradic
#6823B0 #B02324 #6BB023 #23B0AF
square
#6823B0 #B02324 #6BB023 #23B0AF
split-complementary
#6823B0 #B0AF23 #24B023
monochromatic
#2C0F4A #4A197D #6823B0 #8639D8 #A56CE2

Accessibility & contrast

On white

8.55
#6823B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6823B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6823B0
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823B0#FFFFFF#000000##FFFFFF
##6823B01.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#574A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6823b0;
/* rgb */ color: rgb(104, 35, 176);
/* oklch */ color: oklch(44.3% 0.204 300.0);
Tailwind
colors: {
  custom: {
    50: '#9a67c9',
    500: '#6823b0',
    950: '#000000',
  },
}
SCSS
$custom: #6823b0;
$custom-light: #9a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6823b0",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 269.362,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.20388,
    "h": 300
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#6823B0
secondary
#98C867
accent
#EA3E96
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6823B0

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

Preview Lab → · Contrast checker → · Palette generator →

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