#6918A0#6918A0

#6918A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.198 H 305.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6918A0
RGBrgb(105, 24, 160)
HSLhsl(276, 74%, 36%)
HSVhsv(276, 85%, 63%)
CMYKcmyk(34.4%, 85%, 0%, 37.3%)
CIE-LABlab(29.90, 56.40, -56.27)
CIE-LCHlch(29.90, 79.67, 315.07°)
OKLaboklab(42.17% 0.1161 -0.1604)
OKLCHoklch(42.17% 0.198 305.9)
XYZxyz(12.4961, 6.1947, 33.7883)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6918A0 #4FA018
analogous
#2518A0 #6918A0 #A01893
triadic
#6918A0 #A06918 #18A069
tetradic
#6918A0 #A02518 #4FA018 #1893A0
square
#6918A0 #A02518 #4FA018 #1893A0
split-complementary
#6918A0 #93A018 #18A025
monochromatic
#230836 #46106B #6918A0 #8C20D5 #A84EE4

Accessibility & contrast

On white

9.38
#6918A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6918A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6918A0
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6918A0#FFFFFF#000000##FFFFFF
##6918A01.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6918a0;
/* rgb */ color: rgb(105, 24, 160);
/* oklch */ color: oklch(42.2% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#9a62bd',
    500: '#6918a0',
    950: '#000000',
  },
}
SCSS
$custom: #6918a0;
$custom-light: #9a62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6918a0",
  "rgb": {
    "r": 105,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 275.735,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.19798,
    "h": 305.9
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

primary
#6918A0
secondary
#7EC64D
accent
#F13782
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6918A0

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

Preview Lab → · Contrast checker → · Palette generator →

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