#68579D#68579D

#68579D is a mid, moderate violet. Relative luminance 0.122; OKLCH L 50.5% C 0.109 H 293.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#68579D
RGBrgb(104, 87, 157)
HSLhsl(255, 29%, 48%)
HSVhsv(255, 45%, 62%)
CMYKcmyk(33.8%, 44.6%, 0%, 38.4%)
CIE-LABlab(41.52, 23.47, -35.77)
CIE-LCHlch(41.52, 42.78, 303.27°)
OKLaboklab(50.53% 0.0432 -0.1005)
OKLCHoklch(50.53% 0.109 293.3)
XYZxyz(15.2014, 12.1935, 33.4444)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68579D #8C9D57
analogous
#57699D #68579D #8B579D
triadic
#68579D #9D6857 #579D68
tetradic
#68579D #9D5769 #8C9D57 #579D8B
square
#68579D #9D5769 #8C9D57 #579D8B
split-complementary
#68579D #9D8B57 #699D57
monochromatic
#342B4E #4E4176 #68579D #897BB6 #ADA3CC

Accessibility & contrast

On white

6.11
#68579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#68579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #68579D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68579D#FFFFFF#000000##FFFFFF
##68579D1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#5C6472
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #68579d;
/* rgb */ color: rgb(104, 87, 157);
/* oklch */ color: oklch(50.5% 0.109 293.3);
Tailwind
colors: {
  custom: {
    50: '#9586ba',
    500: '#68579d',
    950: '#000000',
  },
}
SCSS
$custom: #68579d;
$custom-light: #9586ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68579d",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 254.571,
    "s": 28.689,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.10939,
    "h": 293.3
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#68579D
secondary
#B1B996
accent
#C563AD
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0D0B11
muted
#7E7C80

Preview Lab

Preview with #68579D

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

Preview Lab → · Contrast checker → · Palette generator →

#68579D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva