#6F47C8#6F47C8

#6F47C8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.190 H 292.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6F47C8
RGBrgb(111, 71, 200)
HSLhsl(259, 54%, 53%)
HSVhsv(259, 65%, 78%)
CMYKcmyk(44.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(41.30, 46.53, -61.39)
CIE-LCHlch(41.30, 77.03, 307.16°)
OKLaboklab(51.41% 0.0735 -0.1755)
OKLCHoklch(51.41% 0.19 292.7)
XYZxyz(19.2312, 12.0555, 55.9461)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47C8 #A0C847
analogous
#475FC8 #6F47C8 #B047C8
triadic
#6F47C8 #C86F47 #47C86F
tetradic
#6F47C8 #C8475F #A0C847 #47C8B0
square
#6F47C8 #C8475F #A0C847 #47C8B0
split-complementary
#6F47C8 #C8B047 #5FC847
monochromatic
#3B2272 #5330A2 #6F47C8 #9476D6 #B9A5E4

Accessibility & contrast

On white

6.16
#6F47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6F47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47C8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47C8#FFFFFF#000000##FFFFFF
##6F47C81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#556581
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f47c8;
/* rgb */ color: rgb(111, 71, 200);
/* oklch */ color: oklch(51.4% 0.190 292.7);
Tailwind
colors: {
  custom: {
    50: '#9f7cda',
    500: '#6f47c8',
    950: '#000000',
  },
}
SCSS
$custom: #6f47c8;
$custom-light: #9f7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47c8",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 258.605,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.19024,
    "h": 292.7
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#6F47C8
secondary
#C0D19A
accent
#DD4AB0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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