#6D4BB1#6D4BB1

#6D4BB1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.156 H 295.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6D4BB1
RGBrgb(109, 75, 177)
HSLhsl(260, 40%, 49%)
HSVhsv(260, 58%, 69%)
CMYKcmyk(38.4%, 57.6%, 0%, 30.6%)
CIE-LABlab(40.34, 37.51, -49.50)
CIE-LCHlch(40.34, 62.11, 307.16°)
OKLaboklab(50.15% 0.0674 -0.1406)
OKLCHoklch(50.15% 0.156 295.6)
XYZxyz(16.7565, 11.4574, 42.9151)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4BB1 #8FB14B
analogous
#4B5CB1 #6D4BB1 #A04BB1
triadic
#6D4BB1 #B16D4B #4BB16D
tetradic
#6D4BB1 #B14B5C #8FB14B #4BB1A0
square
#6D4BB1 #B14B5C #8FB14B #4BB1A0
split-complementary
#6D4BB1 #B1A04B #5CB14B
monochromatic
#38275B #533986 #6D4BB1 #8F75C4 #B2A0D7

Accessibility & contrast

On white

6.38
#6D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6D4BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4BB1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4BB1#FFFFFF#000000##FFFFFF
##6D4BB11.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B4
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#5C6177
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4bb1;
/* rgb */ color: rgb(109, 75, 177);
/* oklch */ color: oklch(50.1% 0.156 295.6);
Tailwind
colors: {
  custom: {
    50: '#9b7ec9',
    500: '#6d4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6d4bb1;
$custom-light: #9b7ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4bb1",
  "rgb": {
    "r": 109,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 260,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.15592,
    "h": 295.6
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#6D4BB1
secondary
#B4C394
accent
#D057A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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