#6B5BB1#6B5BB1

#6B5BB1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 52.8% C 0.132 H 289.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6B5BB1
RGBrgb(107, 91, 177)
HSLhsl(251, 36%, 53%)
HSVhsv(251, 49%, 69%)
CMYKcmyk(39.5%, 48.6%, 0%, 30.6%)
CIE-LABlab(43.92, 27.46, -43.78)
CIE-LCHlch(43.92, 51.68, 302.10°)
OKLaboklab(52.76% 0.0443 -0.1238)
OKLCHoklch(52.76% 0.132 289.7)
XYZxyz(17.7381, 13.7818, 43.3120)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BB1 #A1B15B
analogous
#5B76B1 #6B5BB1 #965BB1
triadic
#6B5BB1 #B16B5B #5BB16B
tetradic
#6B5BB1 #B15B76 #A1B15B #5BB196
square
#6B5BB1 #B15B76 #A1B15B #5BB196
split-complementary
#6B5BB1 #B1965B #76B15B
monochromatic
#392F63 #50438C #6B5BB1 #9084C5 #B6AED8

Accessibility & contrast

On white

5.59
#6B5BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6B5BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BB1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BB1#FFFFFF#000000##FFFFFF
##6B5BB11.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#586C7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b5bb1;
/* rgb */ color: rgb(107, 91, 177);
/* oklch */ color: oklch(52.8% 0.132 289.7);
Tailwind
colors: {
  custom: {
    50: '#9989c9',
    500: '#6b5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b5bb1;
$custom-light: #9989c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5bb1",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 251.163,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.13151,
    "h": 289.7
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

primary
#6B5BB1
secondary
#C0C7A1
accent
#CC5CB7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6B5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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