#6F4FBB#6F4FBB

#6F4FBB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.163 H 293.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6F4FBB
RGBrgb(111, 79, 187)
HSLhsl(258, 44%, 52%)
HSVhsv(258, 58%, 73%)
CMYKcmyk(40.6%, 57.8%, 0%, 26.7%)
CIE-LABlab(42.09, 38.42, -52.55)
CIE-LCHlch(42.09, 65.10, 306.18°)
OKLaboklab(51.69% 0.0651 -0.1495)
OKLCHoklch(51.69% 0.163 293.5)
XYZxyz(18.3188, 12.5589, 48.4630)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4FBB #9BBB4F
analogous
#4F65BB #6F4FBB #A54FBB
triadic
#6F4FBB #BB6F4F #4FBB6F
tetradic
#6F4FBB #BB4F65 #9BBB4F #4FBBA5
square
#6F4FBB #BB4F65 #9BBB4F #4FBBA5
split-complementary
#6F4FBB #BBA54F #65BB4F
monochromatic
#3B2868 #543994 #6F4FBB #937BCC #B7A7DD

Accessibility & contrast

On white

5.98
#6F4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6F4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4FBB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4FBB#FFFFFF#000000##FFFFFF
##6F4FBB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F65BF
Deuteranopia (green-blind)
#1D61B9
Tritanopia (blue-blind)
#5B667D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f4fbb;
/* rgb */ color: rgb(111, 79, 187);
/* oklch */ color: oklch(51.7% 0.163 293.5);
Tailwind
colors: {
  custom: {
    50: '#9d81d0',
    500: '#6f4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6f4fbb;
$custom-light: #9d81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4fbb",
  "rgb": {
    "r": 111,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 257.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.16306,
    "h": 293.5
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#6F4FBB
secondary
#BDCA9B
accent
#D454AE
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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