#6918A1#6918A1

#6918A1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.3% C 0.199 H 305.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6918A1
RGBrgb(105, 24, 161)
HSLhsl(275, 74%, 36%)
HSVhsv(275, 85%, 63%)
CMYKcmyk(34.8%, 85.1%, 0%, 36.9%)
CIE-LABlab(29.98, 56.63, -56.73)
CIE-LCHlch(29.98, 80.16, 314.94°)
OKLaboklab(42.25% 0.1158 -0.1617)
OKLCHoklch(42.25% 0.199 305.6)
XYZxyz(12.5839, 6.2298, 34.2508)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6918A1 #50A118
analogous
#2418A1 #6918A1 #A11895
triadic
#6918A1 #A16918 #18A169
tetradic
#6918A1 #A12418 #50A118 #1895A1
square
#6918A1 #A12418 #50A118 #1895A1
split-complementary
#6918A1 #95A118 #18A124
monochromatic
#240836 #46106C #6918A1 #8C20D6 #A74FE5

Accessibility & contrast

On white

9.35
#6918A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6918A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6918A1
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6918A1#FFFFFF#000000##FFFFFF
##6918A11.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5E3F5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6918a1;
/* rgb */ color: rgb(105, 24, 161);
/* oklch */ color: oklch(42.3% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#9a62be',
    500: '#6918a1',
    950: '#000000',
  },
}
SCSS
$custom: #6918a1;
$custom-light: #9a62be;
$custom-dark: #000000;
JSON
{
  "hex": "#6918a1",
  "rgb": {
    "r": 105,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 275.474,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.1989,
    "h": 305.6
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#6918A1
secondary
#7FC74E
accent
#F13783
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6918A1

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

Preview Lab → · Contrast checker → · Palette generator →

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