#6918B3#6918B3

#6918B3 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.9% C 0.216 H 300.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6918B3
RGBrgb(105, 24, 179)
HSLhsl(271, 76%, 40%)
HSVhsv(271, 87%, 70%)
CMYKcmyk(41.3%, 86.6%, 0%, 29.8%)
CIE-LABlab(31.60, 60.66, -64.91)
CIE-LCHlch(31.60, 88.84, 313.06°)
OKLaboklab(43.86% 0.1095 -0.1857)
OKLCHoklch(43.86% 0.216 300.5)
XYZxyz(14.2870, 6.9111, 43.2203)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6918B3 #62B318
analogous
#1C18B3 #6918B3 #B318B0
triadic
#6918B3 #B36918 #18B369
tetradic
#6918B3 #B31C18 #62B318 #18B0B3
square
#6918B3 #B31C18 #62B318 #18B0B3
split-complementary
#6918B3 #B0B318 #18B31C
monochromatic
#2A0A47 #49117D #6918B3 #8826E2 #A65CE9

Accessibility & contrast

On white

8.82
#6918B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6918B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6918B3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6918B3#FFFFFF#000000##FFFFFF
##6918B31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#57486A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6918b3;
/* rgb */ color: rgb(105, 24, 179);
/* oklch */ color: oklch(43.9% 0.216 300.5);
Tailwind
colors: {
  custom: {
    50: '#9c63cb',
    500: '#6918b3',
    950: '#000000',
  },
}
SCSS
$custom: #6918b3;
$custom-light: #9c63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6918b3",
  "rgb": {
    "r": 105,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 271.355,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.21562,
    "h": 300.5
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#6918B3
secondary
#91CD5A
accent
#F33590
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6918B3

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

Preview Lab → · Contrast checker → · Palette generator →

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