#6F47BB#6F47BB

#6F47BB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.4% C 0.174 H 295.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6F47BB
RGBrgb(111, 71, 187)
HSLhsl(261, 46%, 51%)
HSVhsv(261, 62%, 73%)
CMYKcmyk(40.6%, 62%, 0%, 26.7%)
CIE-LABlab(40.37, 42.98, -55.33)
CIE-LCHlch(40.37, 70.06, 307.84°)
OKLaboklab(50.43% 0.0746 -0.1577)
OKLCHoklch(50.43% 0.174 295.3)
XYZxyz(17.7761, 11.4735, 48.2821)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47BB #93BB47
analogous
#4759BB #6F47BB #A947BB
triadic
#6F47BB #BB6F47 #47BB6F
tetradic
#6F47BB #BB4759 #93BB47 #47BBA9
square
#6F47BB #BB4759 #93BB47 #47BBA9
split-complementary
#6F47BB #BBA947 #59BB47
monochromatic
#3A2563 #543590 #6F47BB #9274CC #B5A0DC

Accessibility & contrast

On white

6.37
#6F47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6F47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47BB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47BB#FFFFFF#000000##FFFFFF
##6F47BB1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#5C617A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f47bb;
/* rgb */ color: rgb(111, 71, 187);
/* oklch */ color: oklch(50.4% 0.174 295.3);
Tailwind
colors: {
  custom: {
    50: '#9e7cd0',
    500: '#6f47bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f47bb;
$custom-light: #9e7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47bb",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 260.69,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.17441,
    "h": 295.3
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#6F47BB
secondary
#B7C995
accent
#D652A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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