#6817A0#6817A0

#6817A0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.199 H 305.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#6817A0
RGBrgb(104, 23, 160)
HSLhsl(275, 75%, 36%)
HSVhsv(275, 86%, 63%)
CMYKcmyk(35%, 85.6%, 0%, 37.3%)
CIE-LABlab(29.65, 56.55, -56.68)
CIE-LCHlch(29.65, 80.07, 314.93°)
OKLaboklab(41.96% 0.1153 -0.1616)
OKLCHoklch(41.96% 0.199 305.5)
XYZxyz(12.3590, 6.0940, 33.7761)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6817A0 #4FA017
analogous
#2317A0 #6817A0 #A01793
triadic
#6817A0 #A06817 #17A068
tetradic
#6817A0 #A02317 #4FA017 #1793A0
square
#6817A0 #A02317 #4FA017 #1793A0
split-complementary
#6817A0 #93A017 #17A023
monochromatic
#220835 #450F6A #6817A0 #8B1FD6 #A74CE5

Accessibility & contrast

On white

9.46
#6817A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6817A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6817A0
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6817A0#FFFFFF#000000##FFFFFF
##6817A01.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5D3F5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6817a0;
/* rgb */ color: rgb(104, 23, 160);
/* oklch */ color: oklch(42.0% 0.199 305.5);
Tailwind
colors: {
  custom: {
    50: '#9961bd',
    500: '#6817a0',
    950: '#000000',
  },
}
SCSS
$custom: #6817a0;
$custom-light: #9961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6817a0",
  "rgb": {
    "r": 104,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 275.474,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.19852,
    "h": 305.5
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#6817A0
secondary
#7EC74C
accent
#F13683
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6817A0

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

Preview Lab → · Contrast checker → · Palette generator →

#6817A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva