#6F47E1#6F47E1

#6F47E1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.220 H 288.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6F47E1
RGBrgb(111, 71, 225)
HSLhsl(256, 72%, 58%)
HSVhsv(256, 68%, 88%)
CMYKcmyk(50.7%, 68.4%, 0%, 11.8%)
CIE-LABlab(43.24, 53.46, -72.59)
CIE-LCHlch(43.24, 90.15, 306.37°)
OKLaboklab(53.41% 0.07 -0.2084)
OKLCHoklch(53.41% 0.22 288.6)
XYZxyz(22.3954, 13.3212, 72.6108)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47E1 #B9E147
analogous
#476CE1 #6F47E1 #BC47E1
triadic
#6F47E1 #E16F47 #47E16F
tetradic
#6F47E1 #E1476C #B9E147 #47E1BC
square
#6F47E1 #E1476C #B9E147 #47E1BC
split-complementary
#6F47E1 #E1BC47 #6CE147
monochromatic
#391895 #4D21CA #6F47E1 #987CEA #C1B0F2

Accessibility & contrast

On white

5.73
#6F47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6F47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47E1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47E1#FFFFFF#000000##FFFFFF
##6F47E11.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#456E8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f47e1;
/* rgb */ color: rgb(111, 71, 225);
/* oklch */ color: oklch(53.4% 0.220 288.6);
Tailwind
colors: {
  custom: {
    50: '#a27deb',
    500: '#6f47e1',
    950: '#000000',
  },
}
SCSS
$custom: #6f47e1;
$custom-light: #a27deb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47e1",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 255.584,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.21984,
    "h": 288.6
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#6F47E1
secondary
#D1E1A3
accent
#EF39C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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