#6F51BC#6F51BC

#6F51BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.161 H 292.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6F51BC
RGBrgb(111, 81, 188)
HSLhsl(257, 44%, 53%)
HSVhsv(257, 57%, 74%)
CMYKcmyk(41%, 56.9%, 0%, 26.3%)
CIE-LABlab(42.60, 37.54, -52.30)
CIE-LCHlch(42.60, 64.38, 305.67°)
OKLaboklab(52.09% 0.0627 -0.1488)
OKLCHoklch(52.09% 0.161 292.9)
XYZxyz(18.5726, 12.8947, 49.0776)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F51BC #9EBC51
analogous
#5169BC #6F51BC #A451BC
triadic
#6F51BC #BC6F51 #51BC6F
tetradic
#6F51BC #BC5169 #9EBC51 #51BCA4
square
#6F51BC #BC5169 #9EBC51 #51BCA4
split-complementary
#6F51BC #BCA451 #69BC51
monochromatic
#3B296A #543A96 #6F51BC #947DCD #B8A9DE

Accessibility & contrast

On white

5.87
#6F51BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6F51BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F51BC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F51BC#FFFFFF#000000##FFFFFF
##6F51BC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#5A687F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f51bc;
/* rgb */ color: rgb(111, 81, 188);
/* oklch */ color: oklch(52.1% 0.161 292.9);
Tailwind
colors: {
  custom: {
    50: '#9d83d1',
    500: '#6f51bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f51bc;
$custom-light: #9d83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f51bc",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 256.822,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.16144,
    "h": 292.9
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#6F51BC
secondary
#BFCC9D
accent
#D454B0
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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