#6718A1#6718A1

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

Color values

HEX#6718A1
RGBrgb(103, 24, 161)
HSLhsl(275, 74%, 36%)
HSVhsv(275, 85%, 63%)
CMYKcmyk(36%, 85.1%, 0%, 36.9%)
CIE-LABlab(29.69, 56.33, -57.23)
CIE-LCHlch(29.69, 80.30, 314.54°)
OKLaboklab(41.99% 0.1128 -0.1633)
OKLCHoklch(41.99% 0.198 304.6)
XYZxyz(12.3517, 6.1101, 34.2400)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6718A1 #52A118
analogous
#2318A1 #6718A1 #A11897
triadic
#6718A1 #A16718 #18A167
tetradic
#6718A1 #A12318 #52A118 #1897A1
square
#6718A1 #A12318 #52A118 #1897A1
split-complementary
#6718A1 #97A118 #18A123
monochromatic
#230836 #45106C #6718A1 #8920D6 #A54FE5

Accessibility & contrast

On white

9.45
#6718A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6718A1
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6718A1#FFFFFF#000000##FFFFFF
##6718A11.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6718a1;
/* rgb */ color: rgb(103, 24, 161);
/* oklch */ color: oklch(42.0% 0.198 304.6);
Tailwind
colors: {
  custom: {
    50: '#9961be',
    500: '#6718a1',
    950: '#000000',
  },
}
SCSS
$custom: #6718a1;
$custom-light: #9961be;
$custom-dark: #000000;
JSON
{
  "hex": "#6718a1",
  "rgb": {
    "r": 103,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 274.599,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.19847,
    "h": 304.6
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#6718A1
secondary
#81C74E
accent
#F13786
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6718A1

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

Preview Lab → · Contrast checker → · Palette generator →

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