#6F5BAA#6F5BAA

#6F5BAA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 52.7% C 0.122 H 293.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6F5BAA
RGBrgb(111, 91, 170)
HSLhsl(255, 32%, 51%)
HSVhsv(255, 46%, 67%)
CMYKcmyk(34.7%, 46.5%, 0%, 33.3%)
CIE-LABlab(43.89, 26.57, -39.68)
CIE-LCHlch(43.89, 47.76, 303.80°)
OKLaboklab(52.7% 0.0484 -0.1117)
OKLCHoklch(52.7% 0.122 293.4)
XYZxyz(17.5505, 13.7636, 39.7544)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5BAA #96AA5B
analogous
#5B6EAA #6F5BAA #965BAA
triadic
#6F5BAA #AA6F5B #5BAA6F
tetradic
#6F5BAA #AA5B6E #96AA5B #5BAA96
square
#6F5BAA #AA5B6E #96AA5B #5BAA96
split-complementary
#6F5BAA #AA965B #6EAA5B
monochromatic
#3A2F5B #544484 #6F5BAA #9283BF #B6ACD4

Accessibility & contrast

On white

5.60
#6F5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6F5BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5BAA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5BAA#FFFFFF#000000##FFFFFF
##6F5BAA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#616A7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f5baa;
/* rgb */ color: rgb(111, 91, 170);
/* oklch */ color: oklch(52.7% 0.122 293.4);
Tailwind
colors: {
  custom: {
    50: '#9b89c4',
    500: '#6f5baa',
    950: '#000000',
  },
}
SCSS
$custom: #6f5baa;
$custom-light: #9b89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5baa",
  "rgb": {
    "r": 111,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 255.19,
    "s": 31.727,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.1218,
    "h": 293.4
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#6F5BAA
secondary
#B9C29F
accent
#C860AE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #6F5BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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