#6A5CB0#6A5CB0

#6A5CB0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 52.8% C 0.129 H 288.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6A5CB0
RGBrgb(106, 92, 176)
HSLhsl(250, 35%, 53%)
HSVhsv(250, 48%, 69%)
CMYKcmyk(39.8%, 47.7%, 0%, 31%)
CIE-LABlab(44.02, 26.31, -43.04)
CIE-LCHlch(44.02, 50.44, 301.44°)
OKLaboklab(52.8% 0.0416 -0.1217)
OKLCHoklch(52.8% 0.129 288.9)
XYZxyz(17.6053, 13.8525, 42.8121)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CB0 #A2B05C
analogous
#5C78B0 #6A5CB0 #945CB0
triadic
#6A5CB0 #B06A5C #5CB06A
tetradic
#6A5CB0 #B05C78 #A2B05C #5CB094
square
#6A5CB0 #B05C78 #A2B05C #5CB094
split-complementary
#6A5CB0 #B0945C #78B05C
monochromatic
#383062 #4F448B #6A5CB0 #9085C4 #B5AED8

Accessibility & contrast

On white

5.57
#6A5CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6A5CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CB0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CB0#FFFFFF#000000##FFFFFF
##6A5CB01.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB3
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#576D7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a5cb0;
/* rgb */ color: rgb(106, 92, 176);
/* oklch */ color: oklch(52.8% 0.129 288.9);
Tailwind
colors: {
  custom: {
    50: '#988ac8',
    500: '#6a5cb0',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cb0;
$custom-light: #988ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cb0",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 250,
    "s": 34.711,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.1286,
    "h": 288.9
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#6A5CB0
secondary
#C0C6A2
accent
#CB5DB8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6A5CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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