#6A5CB1#6A5CB1

#6A5CB1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.130 H 288.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6A5CB1
RGBrgb(106, 92, 177)
HSLhsl(250, 35%, 53%)
HSVhsv(250, 48%, 69%)
CMYKcmyk(40.1%, 48%, 0%, 30.6%)
CIE-LABlab(44.08, 26.60, -43.53)
CIE-LCHlch(44.08, 51.01, 301.42°)
OKLaboklab(52.86% 0.0417 -0.1231)
OKLCHoklch(52.86% 0.13 288.7)
XYZxyz(17.7046, 13.8922, 43.3351)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5CB1 #A3B15C
analogous
#5C79B1 #6A5CB1 #945CB1
triadic
#6A5CB1 #B16A5C #5CB16A
tetradic
#6A5CB1 #B15C79 #A3B15C #5CB194
square
#6A5CB1 #B15C79 #A3B15C #5CB194
split-complementary
#6A5CB1 #B1945C #79B15C
monochromatic
#382F63 #4F438D #6A5CB1 #9085C5 #B6AFD9

Accessibility & contrast

On white

5.56
#6A5CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6A5CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5CB1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5CB1#FFFFFF#000000##FFFFFF
##6A5CB11.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#566D7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a5cb1;
/* rgb */ color: rgb(106, 92, 177);
/* oklch */ color: oklch(52.9% 0.130 288.7);
Tailwind
colors: {
  custom: {
    50: '#988ac9',
    500: '#6a5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #6a5cb1;
$custom-light: #988ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5cb1",
  "rgb": {
    "r": 106,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 249.882,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.13001,
    "h": 288.7
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#6A5CB1
secondary
#C1C7A2
accent
#CB5CB9
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6A5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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