#6D4FA8#6D4FA8

#6D4FA8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.2% C 0.138 H 296.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6D4FA8
RGBrgb(109, 79, 168)
HSLhsl(260, 36%, 48%)
HSVhsv(260, 53%, 66%)
CMYKcmyk(35.1%, 53%, 0%, 34.1%)
CIE-LABlab(40.69, 32.70, -43.62)
CIE-LCHlch(40.69, 54.52, 306.86°)
OKLaboklab(50.22% 0.062 -0.1233)
OKLCHoklch(50.22% 0.138 296.7)
XYZxyz(16.1688, 11.6701, 38.4389)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FA8 #8AA84F
analogous
#4F5DA8 #6D4FA8 #994FA8
triadic
#6D4FA8 #A86D4F #4FA86D
tetradic
#6D4FA8 #A84F5D #8AA84F #4FA899
square
#6D4FA8 #A84F5D #8AA84F #4FA899
split-complementary
#6D4FA8 #A8994F #5DA84F
monochromatic
#372855 #523B7E #6D4FA8 #8E76BE #B09FD2

Accessibility & contrast

On white

6.30
#6D4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6D4FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FA8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FA8#FFFFFF#000000##FFFFFF
##6D4FA81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AB
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#606174
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4fa8;
/* rgb */ color: rgb(109, 79, 168);
/* oklch */ color: oklch(50.2% 0.138 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a81c2',
    500: '#6d4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fa8;
$custom-light: #9a81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fa8",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 260.225,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.13801,
    "h": 296.7
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#6D4FA8
secondary
#B0BF94
accent
#CC5CA6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6D4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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