#6B5988#6B5988

#6B5988 is a mid, moderate violet. Relative luminance 0.120; OKLCH L 50.1% C 0.076 H 301.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6B5988
RGBrgb(107, 89, 136)
HSLhsl(263, 21%, 44%)
HSVhsv(263, 35%, 53%)
CMYKcmyk(21.3%, 34.6%, 0%, 46.7%)
CIE-LABlab(41.29, 17.60, -23.48)
CIE-LCHlch(41.29, 29.34, 306.86°)
OKLaboklab(50.08% 0.0395 -0.0649)
OKLCHoklch(50.08% 0.076 301.3)
XYZxyz(14.0788, 12.0481, 24.8716)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5988 #768859
analogous
#595F88 #6B5988 #835988
triadic
#6B5988 #886B59 #59886B
tetradic
#6B5988 #88595F #768859 #598883
square
#6B5988 #88595F #768859 #598883
split-complementary
#6B5988 #888359 #5F8859
monochromatic
#31293E #4E4163 #6B5988 #8A78A6 #AA9DBF

Accessibility & contrast

On white

6.16
#6B5988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6B5988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5988
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5988#FFFFFF#000000##FFFFFF
##6B59881.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E618A
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#66606A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b5988;
/* rgb */ color: rgb(107, 89, 136);
/* oklch */ color: oklch(50.1% 0.076 301.3);
Tailwind
colors: {
  custom: {
    50: '#9688ab',
    500: '#6b5988',
    950: '#000000',
  },
}
SCSS
$custom: #6b5988;
$custom-light: #9688ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5988",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 136
  },
  "hsl": {
    "h": 262.979,
    "s": 20.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.07596,
    "h": 301.3
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#6B5988
secondary
#A2AD90
accent
#BD6A9E
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0D0B10
muted
#7E7C7F

Preview Lab

Preview with #6B5988

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

Preview Lab → · Contrast checker → · Palette generator →

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