#6A5CA5#6A5CA5

#6A5CA5 is a mid, moderate violet. Relative luminance 0.134; OKLCH L 52.1% C 0.113 H 290.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6A5CA5
RGBrgb(106, 92, 165)
HSLhsl(252, 29%, 50%)
HSVhsv(252, 44%, 65%)
CMYKcmyk(35.8%, 44.2%, 0%, 35.3%)
CIE-LABlab(43.41, 23.18, -37.52)
CIE-LCHlch(43.41, 44.11, 301.71°)
OKLaboklab(52.14% 0.04 -0.1056)
OKLCHoklch(52.14% 0.113 290.8)
XYZxyz(16.5607, 13.4347, 37.3106)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CA5 #97A55C
analogous
#5C72A5 #6A5CA5 #8E5CA5
triadic
#6A5CA5 #A56A5C #5CA56A
tetradic
#6A5CA5 #A55C72 #97A55C #5CA58E
square
#6A5CA5 #A55C72 #97A55C #5CA58E
split-complementary
#6A5CA5 #A58E5C #72A55C
monochromatic
#373057 #50467E #6A5CA5 #8E83BB #B2ABD1

Accessibility & contrast

On white

5.70
#6A5CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#6A5CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CA5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CA5#FFFFFF#000000##FFFFFF
##6A5CA51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A8
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#5B6A78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a5ca5;
/* rgb */ color: rgb(106, 92, 165);
/* oklch */ color: oklch(52.1% 0.113 290.8);
Tailwind
colors: {
  custom: {
    50: '#978ac0',
    500: '#6a5ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6a5ca5;
$custom-light: #978ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5ca5",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 251.507,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.1129,
    "h": 290.8
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#6A5CA5
secondary
#B8BF9E
accent
#C563B2
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6A5CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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