#6F579D#6F579D

#6F579D is a mid, moderate violet. Relative luminance 0.126; OKLCH L 51.2% C 0.110 H 298.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6F579D
RGBrgb(111, 87, 157)
HSLhsl(261, 29%, 48%)
HSVhsv(261, 45%, 62%)
CMYKcmyk(29.3%, 44.6%, 0%, 38.4%)
CIE-LABlab(42.20, 25.49, -34.65)
CIE-LCHlch(42.20, 43.02, 306.34°)
OKLaboklab(51.2% 0.0521 -0.0971)
OKLCHoklch(51.2% 0.11 298.2)
XYZxyz(16.0481, 12.6301, 33.4841)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F579D #859D57
analogous
#57629D #6F579D #92579D
triadic
#6F579D #9D6F57 #579D6F
tetradic
#6F579D #9D5762 #859D57 #579D92
square
#6F579D #9D5762 #859D57 #579D92
split-complementary
#6F579D #9D9257 #629D57
monochromatic
#372B4E #534176 #6F579D #8F7BB6 #B1A3CC

Accessibility & contrast

On white

5.96
#6F579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6F579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F579D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F579D#FFFFFF#000000##FFFFFF
##6F579D1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#666372
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f579d;
/* rgb */ color: rgb(111, 87, 157);
/* oklch */ color: oklch(51.2% 0.110 298.2);
Tailwind
colors: {
  custom: {
    50: '#9a87ba',
    500: '#6f579d',
    950: '#000000',
  },
}
SCSS
$custom: #6f579d;
$custom-light: #9a87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6f579d",
  "rgb": {
    "r": 111,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 260.571,
    "s": 28.689,
    "l": 47.843
  },
  "oklch": {
    "l": 0.512,
    "c": 0.11018,
    "h": 298.2
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#6F579D
secondary
#ADB996
accent
#C563A3
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #6F579D

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

Preview Lab → · Contrast checker → · Palette generator →

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