#6D4FA3#6D4FA3

#6D4FA3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.9% C 0.131 H 298.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6D4FA3
RGBrgb(109, 79, 163)
HSLhsl(261, 35%, 47%)
HSVhsv(261, 52%, 64%)
CMYKcmyk(33.1%, 51.5%, 0%, 36.1%)
CIE-LABlab(40.39, 31.35, -41.12)
CIE-LCHlch(40.39, 51.71, 307.33°)
OKLaboklab(49.9% 0.0616 -0.116)
OKLCHoklch(49.9% 0.131 298)
XYZxyz(15.7119, 11.4873, 36.0327)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FA3 #85A34F
analogous
#4F5BA3 #6D4FA3 #974FA3
triadic
#6D4FA3 #A36D4F #4FA36D
tetradic
#6D4FA3 #A34F5B #85A34F #4FA397
square
#6D4FA3 #A34F5B #85A34F #4FA397
split-complementary
#6D4FA3 #A3974F #5BA34F
monochromatic
#362751 #513B7A #6D4FA3 #8D74BB #AF9DCF

Accessibility & contrast

On white

6.37
#6D4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6D4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FA3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FA3#FFFFFF#000000##FFFFFF
##6D4FA31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#615F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4fa3;
/* rgb */ color: rgb(109, 79, 163);
/* oklch */ color: oklch(49.9% 0.131 298.0);
Tailwind
colors: {
  custom: {
    50: '#9a81bf',
    500: '#6d4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fa3;
$custom-light: #9a81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fa3",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 261.429,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.13132,
    "h": 298
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#6D4FA3
secondary
#ADBC91
accent
#CB5DA4
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6D4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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