#6718A0#6718A0

#6718A0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.198 H 304.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#6718A0
RGBrgb(103, 24, 160)
HSLhsl(275, 74%, 36%)
HSVhsv(275, 85%, 63%)
CMYKcmyk(35.6%, 85%, 0%, 37.3%)
CIE-LABlab(29.60, 56.10, -56.77)
CIE-LCHlch(29.60, 79.81, 314.66°)
OKLaboklab(41.9% 0.1132 -0.1619)
OKLCHoklch(41.9% 0.198 304.9)
XYZxyz(12.2639, 6.0750, 33.7774)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6718A0 #51A018
analogous
#2318A0 #6718A0 #A01895
triadic
#6718A0 #A06718 #18A067
tetradic
#6718A0 #A02318 #51A018 #1895A0
square
#6718A0 #A02318 #51A018 #1895A0
split-complementary
#6718A0 #95A018 #18A023
monochromatic
#220836 #45106B #6718A0 #8920D5 #A54EE4

Accessibility & contrast

On white

9.48
#6718A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6718A0
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6718A0#FFFFFF#000000##FFFFFF
##6718A01.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6718a0;
/* rgb */ color: rgb(103, 24, 160);
/* oklch */ color: oklch(41.9% 0.198 304.9);
Tailwind
colors: {
  custom: {
    50: '#9961bd',
    500: '#6718a0',
    950: '#000000',
  },
}
SCSS
$custom: #6718a0;
$custom-light: #9961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6718a0",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 274.853,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.19754,
    "h": 304.9
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#6718A0
secondary
#80C64D
accent
#F13785
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6718A0

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

Preview Lab → · Contrast checker → · Palette generator →

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