#6F4CB5#6F4CB5

#6F4CB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.160 H 295.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6F4CB5
RGBrgb(111, 76, 181)
HSLhsl(260, 42%, 50%)
HSVhsv(260, 58%, 71%)
CMYKcmyk(38.7%, 58%, 0%, 29%)
CIE-LABlab(41.03, 38.51, -50.73)
CIE-LCHlch(41.03, 63.69, 307.20°)
OKLaboklab(50.79% 0.0688 -0.1441)
OKLCHoklch(50.79% 0.16 295.5)
XYZxyz(17.4783, 11.8842, 45.0801)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4CB5 #92B54C
analogous
#4C5DB5 #6F4CB5 #A34CB5
triadic
#6F4CB5 #B56F4C #4CB56F
tetradic
#6F4CB5 #B54C5D #92B54C #4CB5A3
square
#6F4CB5 #B54C5D #92B54C #4CB5A3
split-complementary
#6F4CB5 #B5A34C #5DB54C
monochromatic
#3A275F #54398B #6F4CB5 #9277C7 #B5A3D9

Accessibility & contrast

On white

6.22
#6F4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6F4CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4CB5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4CB5#FFFFFF#000000##FFFFFF
##6F4CB51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1162B8
Deuteranopia (green-blind)
#215FB3
Tritanopia (blue-blind)
#5E6279
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f4cb5;
/* rgb */ color: rgb(111, 76, 181);
/* oklch */ color: oklch(50.8% 0.160 295.5);
Tailwind
colors: {
  custom: {
    50: '#9d7fcc',
    500: '#6f4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #6f4cb5;
$custom-light: #9d7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4cb5",
  "rgb": {
    "r": 111,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 260,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.15974,
    "h": 295.5
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#6F4CB5
secondary
#B6C697
accent
#D156A8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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