#6F579B#6F579B

#6F579B is a mid, moderate violet. Relative luminance 0.126; OKLCH L 51.1% C 0.107 H 298.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6F579B
RGBrgb(111, 87, 155)
HSLhsl(261, 28%, 47%)
HSVhsv(261, 44%, 61%)
CMYKcmyk(28.4%, 43.9%, 0%, 39.2%)
CIE-LABlab(42.10, 24.96, -33.62)
CIE-LCHlch(42.10, 41.88, 306.59°)
OKLaboklab(51.09% 0.0518 -0.0941)
OKLCHoklch(51.09% 0.107 298.8)
XYZxyz(15.8788, 12.5623, 32.5922)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F579B #839B57
analogous
#57619B #6F579B #91579B
triadic
#6F579B #9B6F57 #579B6F
tetradic
#6F579B #9B5761 #839B57 #579B91
square
#6F579B #9B5761 #839B57 #579B91
split-complementary
#6F579B #9B9157 #619B57
monochromatic
#372B4D #534174 #6F579B #8F7BB5 #B0A2CB

Accessibility & contrast

On white

5.98
#6F579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6F579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F579B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F579B#FFFFFF#000000##FFFFFF
##6F579B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639E
Deuteranopia (green-blind)
#486399
Tritanopia (blue-blind)
#666371
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f579b;
/* rgb */ color: rgb(111, 87, 155);
/* oklch */ color: oklch(51.1% 0.107 298.8);
Tailwind
colors: {
  custom: {
    50: '#9a86b9',
    500: '#6f579b',
    950: '#000000',
  },
}
SCSS
$custom: #6f579b;
$custom-light: #9a86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f579b",
  "rgb": {
    "r": 111,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 261.176,
    "s": 28.099,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51088,
    "c": 0.10738,
    "h": 298.8
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#6F579B
secondary
#ACB896
accent
#C463A2
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #6F579B

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

Preview Lab → · Contrast checker → · Palette generator →

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