#6B5BAF#6B5BAF

#6B5BAF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 52.6% C 0.129 H 290.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6B5BAF
RGBrgb(107, 91, 175)
HSLhsl(251, 34%, 52%)
HSVhsv(251, 48%, 69%)
CMYKcmyk(38.9%, 48%, 0%, 31.4%)
CIE-LABlab(43.80, 26.89, -42.79)
CIE-LCHlch(43.80, 50.54, 302.15°)
OKLaboklab(52.64% 0.044 -0.1209)
OKLCHoklch(52.64% 0.129 290)
XYZxyz(17.5403, 13.7026, 42.2698)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5BAF #9FAF5B
analogous
#5B75AF #6B5BAF #955BAF
triadic
#6B5BAF #AF6B5B #5BAF6B
tetradic
#6B5BAF #AF5B75 #9FAF5B #5BAF95
square
#6B5BAF #AF5B75 #9FAF5B #5BAF95
split-complementary
#6B5BAF #AF955B #75AF5B
monochromatic
#382F61 #51438A #6B5BAF #9084C3 #B5ADD7

Accessibility & contrast

On white

5.61
#6B5BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6B5BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5BAF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5BAF#FFFFFF#000000##FFFFFF
##6B5BAF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#596C7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b5baf;
/* rgb */ color: rgb(107, 91, 175);
/* oklch */ color: oklch(52.6% 0.129 290.0);
Tailwind
colors: {
  custom: {
    50: '#9989c7',
    500: '#6b5baf',
    950: '#000000',
  },
}
SCSS
$custom: #6b5baf;
$custom-light: #9989c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5baf",
  "rgb": {
    "r": 107,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 251.429,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.12871,
    "h": 290
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

primary
#6B5BAF
secondary
#BEC5A1
accent
#CB5DB6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6B5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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