#6F4CB2#6F4CB2

#6F4CB2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.156 H 296.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6F4CB2
RGBrgb(111, 76, 178)
HSLhsl(261, 40%, 50%)
HSVhsv(261, 57%, 70%)
CMYKcmyk(37.6%, 57.3%, 0%, 30.2%)
CIE-LABlab(40.84, 37.69, -49.28)
CIE-LCHlch(40.84, 62.04, 307.41°)
OKLaboklab(50.58% 0.0688 -0.1399)
OKLCHoklch(50.58% 0.156 296.2)
XYZxyz(17.1738, 11.7624, 43.4764)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4CB2 #8FB24C
analogous
#4C5CB2 #6F4CB2 #A24CB2
triadic
#6F4CB2 #B26F4C #4CB26F
tetradic
#6F4CB2 #B24C5C #8FB24C #4CB2A2
square
#6F4CB2 #B24C5C #8FB24C #4CB2A2
split-complementary
#6F4CB2 #B2A24C #5CB24C
monochromatic
#3A275C #543A87 #6F4CB2 #9176C5 #B4A1D7

Accessibility & contrast

On white

6.26
#6F4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6F4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4CB2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4CB2#FFFFFF#000000##FFFFFF
##6F4CB21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#5F6177
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4cb2;
/* rgb */ color: rgb(111, 76, 178);
/* oklch */ color: oklch(50.6% 0.156 296.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fca',
    500: '#6f4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f4cb2;
$custom-light: #9c7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4cb2",
  "rgb": {
    "r": 111,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 260.588,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.1559,
    "h": 296.2
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#6F4CB2
secondary
#B4C496
accent
#D058A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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