#6F47CF#6F47CF

#6F47CF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.199 H 291.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6F47CF
RGBrgb(111, 71, 207)
HSLhsl(258, 59%, 55%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(46.4%, 65.7%, 0%, 18.8%)
CIE-LABlab(41.83, 48.47, -64.58)
CIE-LCHlch(41.83, 80.75, 306.89°)
OKLaboklab(51.95% 0.0727 -0.1849)
OKLCHoklch(51.95% 0.199 291.5)
XYZxyz(20.0681, 12.3903, 60.3536)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47CF #A7CF47
analogous
#4763CF #6F47CF #B347CF
triadic
#6F47CF #CF6F47 #47CF6F
tetradic
#6F47CF #CF4763 #A7CF47 #47CFB3
square
#6F47CF #CF4763 #A7CF47 #47CFB3
split-complementary
#6F47CF #CFB347 #63CF47
monochromatic
#3B207B #522DAC #6F47CF #9578DC #BBA8E8

Accessibility & contrast

On white

6.04
#6F47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6F47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47CF#FFFFFF#000000##FFFFFF
##6F47CF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#516885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f47cf;
/* rgb */ color: rgb(111, 71, 207);
/* oklch */ color: oklch(52.0% 0.199 291.5);
Tailwind
colors: {
  custom: {
    50: '#a07ddf',
    500: '#6f47cf',
    950: '#000000',
  },
}
SCSS
$custom: #6f47cf;
$custom-light: #a07ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47cf",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 257.647,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.19864,
    "h": 291.5
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#6F47CF
secondary
#C5D69C
accent
#E246B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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