#6D5F9D#6D5F9D

#6D5F9D is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.6% C 0.097 H 293.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6D5F9D
RGBrgb(109, 95, 157)
HSLhsl(254, 25%, 49%)
HSVhsv(254, 39%, 62%)
CMYKcmyk(30.6%, 39.5%, 0%, 38.4%)
CIE-LABlab(44.05, 20.01, -31.76)
CIE-LCHlch(44.05, 37.54, 302.22°)
OKLaboklab(52.55% 0.038 -0.0887)
OKLCHoklch(52.55% 0.097 293.2)
XYZxyz(16.4832, 13.8697, 33.7004)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D5F9D #8F9D5F
analogous
#5F709D #6D5F9D #8C5F9D
triadic
#6D5F9D #9D6D5F #5F9D6D
tetradic
#6D5F9D #9D5F70 #8F9D5F #5F9D8C
square
#6D5F9D #9D5F70 #8F9D5F #5F9D8C
split-complementary
#6D5F9D #9D8C5F #709D5F
monochromatic
#383151 #534877 #6D5F9D #8F84B5 #B2ABCC

Accessibility & contrast

On white

5.56
#6D5F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6D5F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D5F9D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D5F9D#FFFFFF#000000##FFFFFF
##6D5F9D1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D699F
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#626A76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d5f9d;
/* rgb */ color: rgb(109, 95, 157);
/* oklch */ color: oklch(52.6% 0.097 293.2);
Tailwind
colors: {
  custom: {
    50: '#988cba',
    500: '#6d5f9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d5f9d;
$custom-light: #988cba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d5f9d",
  "rgb": {
    "r": 109,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 253.548,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.09652,
    "h": 293.2
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#6D5F9D
secondary
#B4BA9E
accent
#C167AD
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C11
muted
#7E7D80

Preview Lab

Preview with #6D5F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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