#6E579D#6E579D

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

Color values

HEX#6E579D
RGBrgb(110, 87, 157)
HSLhsl(260, 29%, 48%)
HSVhsv(260, 45%, 62%)
CMYKcmyk(29.9%, 44.6%, 0%, 38.4%)
CIE-LABlab(42.10, 25.20, -34.81)
CIE-LCHlch(42.10, 42.98, 305.90°)
OKLaboklab(51.1% 0.0508 -0.0976)
OKLCHoklch(51.1% 0.11 297.5)
XYZxyz(15.9229, 12.5655, 33.4783)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E579D #869D57
analogous
#57639D #6E579D #91579D
triadic
#6E579D #9D6E57 #579D6E
tetradic
#6E579D #9D5763 #869D57 #579D91
square
#6E579D #9D5763 #869D57 #579D91
split-complementary
#6E579D #9D9157 #639D57
monochromatic
#372B4E #524176 #6E579D #8F7BB6 #B0A3CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E579D#FFFFFF#000000##FFFFFF
##6E579D1.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)
#4264A0
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#646472
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e579d;
/* rgb */ color: rgb(110, 87, 157);
/* oklch */ color: oklch(51.1% 0.110 297.5);
Tailwind
colors: {
  custom: {
    50: '#9986ba',
    500: '#6e579d',
    950: '#000000',
  },
}
SCSS
$custom: #6e579d;
$custom-light: #9986ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6e579d",
  "rgb": {
    "r": 110,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 259.714,
    "s": 28.689,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.11003,
    "h": 297.5
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#6E579D
secondary
#AEB996
accent
#C563A5
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #6E579D

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

Preview Lab → · Contrast checker → · Palette generator →

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