#6F47BC#6F47BC

#6F47BC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.176 H 295.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6F47BC
RGBrgb(111, 71, 188)
HSLhsl(261, 47%, 51%)
HSVhsv(261, 62%, 74%)
CMYKcmyk(41%, 62.2%, 0%, 26.3%)
CIE-LABlab(40.44, 43.25, -55.80)
CIE-LCHlch(40.44, 70.60, 307.78°)
OKLaboklab(50.51% 0.0745 -0.159)
OKLCHoklch(50.51% 0.176 295.1)
XYZxyz(17.8835, 11.5164, 48.8479)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47BC #94BC47
analogous
#4759BC #6F47BC #AA47BC
triadic
#6F47BC #BC6F47 #47BC6F
tetradic
#6F47BC #BC4759 #94BC47 #47BCAA
square
#6F47BC #BC4759 #94BC47 #47BCAA
split-complementary
#6F47BC #BCAA47 #59BC47
monochromatic
#3A2464 #543591 #6F47BC #9274CC #B5A1DD

Accessibility & contrast

On white

6.36
#6F47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6F47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47BC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47BC#FFFFFF#000000##FFFFFF
##6F47BC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#5B617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f47bc;
/* rgb */ color: rgb(111, 71, 188);
/* oklch */ color: oklch(50.5% 0.176 295.1);
Tailwind
colors: {
  custom: {
    50: '#9e7cd1',
    500: '#6f47bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f47bc;
$custom-light: #9e7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47bc",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 260.513,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.17564,
    "h": 295.1
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#6F47BC
secondary
#B8C995
accent
#D652A9
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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