#6C5D9D#6C5D9D

#6C5D9D is a mid, moderate violet. Relative luminance 0.135; OKLCH L 52.1% C 0.100 H 293.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#6C5D9D
RGBrgb(108, 93, 157)
HSLhsl(254, 26%, 49%)
HSVhsv(254, 41%, 62%)
CMYKcmyk(31.2%, 40.8%, 0%, 38.4%)
CIE-LABlab(43.43, 20.94, -32.73)
CIE-LCHlch(43.43, 38.85, 302.61°)
OKLaboklab(52.07% 0.0396 -0.0916)
OKLCHoklch(52.07% 0.1 293.4)
XYZxyz(16.1830, 13.4509, 33.6354)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C5D9D #8E9D5D
analogous
#5D6E9D #6C5D9D #8C5D9D
triadic
#6C5D9D #9D6C5D #5D9D6C
tetradic
#6C5D9D #9D5D6E #8E9D5D #5D9D8C
square
#6C5D9D #9D5D6E #8E9D5D #5D9D8C
split-complementary
#6C5D9D #9D8C5D #6E9D5D
monochromatic
#372F50 #524677 #6C5D9D #8E82B5 #B1A9CC

Accessibility & contrast

On white

5.69
#6C5D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6C5D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C5D9D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C5D9D#FFFFFF#000000##FFFFFF
##6C5D9D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A679F
Deuteranopia (green-blind)
#4C669B
Tritanopia (blue-blind)
#616975
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6c5d9d;
/* rgb */ color: rgb(108, 93, 157);
/* oklch */ color: oklch(52.1% 0.100 293.4);
Tailwind
colors: {
  custom: {
    50: '#988bba',
    500: '#6c5d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6c5d9d;
$custom-light: #988bba;
$custom-dark: #000000;
JSON
{
  "hex": "#6c5d9d",
  "rgb": {
    "r": 108,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 254.063,
    "s": 25.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.09977,
    "h": 293.4
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#6C5D9D
secondary
#B3BA9C
accent
#C266AC
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C11
muted
#7E7D80

Preview Lab

Preview with #6C5D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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