#6818A0#6818A0

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

Color values

HEX#6818A0
RGBrgb(104, 24, 160)
HSLhsl(275, 74%, 36%)
HSVhsv(275, 85%, 63%)
CMYKcmyk(35%, 85%, 0%, 37.3%)
CIE-LABlab(29.75, 56.25, -56.52)
CIE-LCHlch(29.75, 79.74, 314.87°)
OKLaboklab(42.03% 0.1146 -0.1612)
OKLCHoklch(42.03% 0.198 305.4)
XYZxyz(12.3793, 6.1345, 33.7828)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6818A0 #50A018
analogous
#2418A0 #6818A0 #A01894
triadic
#6818A0 #A06818 #18A068
tetradic
#6818A0 #A02418 #50A018 #1894A0
square
#6818A0 #A02418 #50A018 #1894A0
split-complementary
#6818A0 #94A018 #18A024
monochromatic
#230836 #45106B #6818A0 #8B20D5 #A64EE4

Accessibility & contrast

On white

9.43
#6818A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6818A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6818A0
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6818A0#FFFFFF#000000##FFFFFF
##6818A01.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.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: #6818a0;
/* rgb */ color: rgb(104, 24, 160);
/* oklch */ color: oklch(42.0% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#9962bd',
    500: '#6818a0',
    950: '#000000',
  },
}
SCSS
$custom: #6818a0;
$custom-light: #9962bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6818a0",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 275.294,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.19776,
    "h": 305.4
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#6818A0
secondary
#7FC64D
accent
#F13784
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6818A0

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

Preview Lab → · Contrast checker → · Palette generator →

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