#6B4FA3#6B4FA3

#6B4FA3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.7% C 0.131 H 296.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6B4FA3
RGBrgb(107, 79, 163)
HSLhsl(260, 35%, 47%)
HSVhsv(260, 52%, 64%)
CMYKcmyk(34.4%, 51.5%, 0%, 36.1%)
CIE-LABlab(40.18, 30.82, -41.46)
CIE-LCHlch(40.18, 51.65, 306.63°)
OKLaboklab(49.7% 0.059 -0.117)
OKLCHoklch(49.7% 0.131 296.7)
XYZxyz(15.4686, 11.3619, 36.0213)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4FA3 #87A34F
analogous
#4F5DA3 #6B4FA3 #954FA3
triadic
#6B4FA3 #A36B4F #4FA36B
tetradic
#6B4FA3 #A34F5D #87A34F #4FA395
square
#6B4FA3 #A34F5D #87A34F #4FA395
split-complementary
#6B4FA3 #A3954F #5DA34F
monochromatic
#352751 #503B7A #6B4FA3 #8C74BB #AE9DCF

Accessibility & contrast

On white

6.42
#6B4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6B4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4FA3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4FA3#FFFFFF#000000##FFFFFF
##6B4FA31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#5E5F71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b4fa3;
/* rgb */ color: rgb(107, 79, 163);
/* oklch */ color: oklch(49.7% 0.131 296.7);
Tailwind
colors: {
  custom: {
    50: '#9881bf',
    500: '#6b4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6b4fa3;
$custom-light: #9881bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4fa3",
  "rgb": {
    "r": 107,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 260,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.13106,
    "h": 296.7
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#6B4FA3
secondary
#AEBC91
accent
#CB5DA6
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6B4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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