#6F5BB1#6F5BB1

#6F5BB1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.1% C 0.132 H 292.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6F5BB1
RGBrgb(111, 91, 177)
HSLhsl(254, 36%, 53%)
HSVhsv(254, 49%, 69%)
CMYKcmyk(37.3%, 48.6%, 0%, 30.6%)
CIE-LABlab(44.28, 28.51, -43.18)
CIE-LCHlch(44.28, 51.74, 303.43°)
OKLaboklab(53.12% 0.0493 -0.122)
OKLCHoklch(53.12% 0.132 292)
XYZxyz(18.2303, 14.0356, 43.3351)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5BB1 #9DB15B
analogous
#5B72B1 #6F5BB1 #9A5BB1
triadic
#6F5BB1 #B16F5B #5BB16F
tetradic
#6F5BB1 #B15B72 #9DB15B #5BB19A
square
#6F5BB1 #B15B72 #9DB15B #5BB19A
split-complementary
#6F5BB1 #B19A5B #72B15B
monochromatic
#3B2F63 #54438C #6F5BB1 #9384C5 #B8AED8

Accessibility & contrast

On white

5.52
#6F5BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6F5BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5BB1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5BB1#FFFFFF#000000##FFFFFF
##6F5BB11.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#5E6C7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f5bb1;
/* rgb */ color: rgb(111, 91, 177);
/* oklch */ color: oklch(53.1% 0.132 292.0);
Tailwind
colors: {
  custom: {
    50: '#9b89c9',
    500: '#6f5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6f5bb1;
$custom-light: #9b89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5bb1",
  "rgb": {
    "r": 111,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 253.953,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53123,
    "c": 0.13155,
    "h": 292
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#6F5BB1
secondary
#BEC7A1
accent
#CC5CB2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6F5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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