#6823A5#6823A5

#6823A5 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.193 H 303.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6823A5
RGBrgb(104, 35, 165)
HSLhsl(272, 65%, 39%)
HSVhsv(272, 79%, 65%)
CMYKcmyk(37%, 78.8%, 0%, 35.3%)
CIE-LABlab(31.49, 53.58, -56.70)
CIE-LCHlch(31.49, 78.01, 313.38°)
OKLaboklab(43.38% 0.105 -0.1618)
OKLCHoklch(43.38% 0.193 303)
XYZxyz(13.0999, 6.8617, 36.2243)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6823A5 #60A523
analogous
#2723A5 #6823A5 #A523A1
triadic
#6823A5 #A56823 #23A568
tetradic
#6823A5 #A52723 #60A523 #23A1A5
square
#6823A5 #A52723 #60A523 #23A1A5
split-complementary
#6823A5 #A1A523 #23A527
monochromatic
#280E40 #481873 #6823A5 #8832D3 #A564DE

Accessibility & contrast

On white

8.85
#6823A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6823A5
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6823A5#FFFFFF#000000##FFFFFF
##6823A51.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#5B4564
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6823a5;
/* rgb */ color: rgb(104, 35, 165);
/* oklch */ color: oklch(43.4% 0.193 303.0);
Tailwind
colors: {
  custom: {
    50: '#9966c1',
    500: '#6823a5',
    950: '#000000',
  },
}
SCSS
$custom: #6823a5;
$custom-light: #9966c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6823a5",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 271.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.19284,
    "h": 303
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#6823A5
secondary
#8FC460
accent
#E8408F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6823A5

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

Preview Lab → · Contrast checker → · Palette generator →

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