#6D4BB2#6D4BB2

#6D4BB2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.157 H 295.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6D4BB2
RGBrgb(109, 75, 178)
HSLhsl(260, 41%, 50%)
HSVhsv(260, 58%, 70%)
CMYKcmyk(38.8%, 57.9%, 0%, 30.2%)
CIE-LABlab(40.41, 37.79, -49.98)
CIE-LCHlch(40.41, 62.66, 307.09°)
OKLaboklab(50.22% 0.0674 -0.142)
OKLCHoklch(50.22% 0.157 295.4)
XYZxyz(16.8565, 11.4974, 43.4420)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4BB2 #90B24B
analogous
#4B5DB2 #6D4BB2 #A14BB2
triadic
#6D4BB2 #B26D4B #4BB26D
tetradic
#6D4BB2 #B24B5D #90B24B #4BB2A1
square
#6D4BB2 #B24B5D #90B24B #4BB2A1
split-complementary
#6D4BB2 #B2A14B #5DB24B
monochromatic
#38275C #533987 #6D4BB2 #9075C5 #B2A0D7

Accessibility & contrast

On white

6.36
#6D4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D4BB2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4BB2#FFFFFF#000000##FFFFFF
##6D4BB21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B5
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#5C6177
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4bb2;
/* rgb */ color: rgb(109, 75, 178);
/* oklch */ color: oklch(50.2% 0.157 295.4);
Tailwind
colors: {
  custom: {
    50: '#9b7eca',
    500: '#6d4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6d4bb2;
$custom-light: #9b7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4bb2",
  "rgb": {
    "r": 109,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 259.806,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.1572,
    "h": 295.4
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#6D4BB2
secondary
#B4C495
accent
#D157A9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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