#6D4FB0#6D4FB0

#6D4FB0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.149 H 294.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6D4FB0
RGBrgb(109, 79, 176)
HSLhsl(259, 38%, 50%)
HSVhsv(259, 55%, 69%)
CMYKcmyk(38.1%, 55.1%, 0%, 31%)
CIE-LABlab(41.18, 34.90, -47.56)
CIE-LCHlch(41.18, 58.99, 306.27°)
OKLaboklab(50.75% 0.0624 -0.1349)
OKLCHoklch(50.75% 0.149 294.8)
XYZxyz(16.9371, 11.9774, 42.4854)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FB0 #92B04F
analogous
#4F61B0 #6D4FB0 #9E4FB0
triadic
#6D4FB0 #B06D4F #4FB06D
tetradic
#6D4FB0 #B04F61 #92B04F #4FB09E
square
#6D4FB0 #B04F61 #92B04F #4FB09E
split-complementary
#6D4FB0 #B09E4F #61B04F
monochromatic
#39295C #533C86 #6D4FB0 #9079C3 #B3A3D6

Accessibility & contrast

On white

6.18
#6D4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6D4FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FB0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FB0#FFFFFF#000000##FFFFFF
##6D4FB01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B3
Deuteranopia (green-blind)
#2B60AE
Tritanopia (blue-blind)
#5D6378
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d4fb0;
/* rgb */ color: rgb(109, 79, 176);
/* oklch */ color: oklch(50.7% 0.149 294.8);
Tailwind
colors: {
  custom: {
    50: '#9b81c8',
    500: '#6d4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fb0;
$custom-light: #9b81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fb0",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 258.557,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.1486,
    "h": 294.8
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#6D4FB0
secondary
#B6C398
accent
#CE5AAA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

#6D4FB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva