#6F47BE#6F47BE

#6F47BE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.178 H 294.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6F47BE
RGBrgb(111, 71, 190)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 63%, 75%)
CMYKcmyk(41.6%, 62.6%, 0%, 25.5%)
CIE-LABlab(40.58, 43.79, -56.74)
CIE-LCHlch(40.58, 71.68, 307.66°)
OKLaboklab(50.65% 0.0744 -0.1618)
OKLCHoklch(50.65% 0.178 294.7)
XYZxyz(18.1006, 11.6033, 49.9912)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47BE #96BE47
analogous
#475ABE #6F47BE #AA47BE
triadic
#6F47BE #BE6F47 #47BE6F
tetradic
#6F47BE #BE475A #96BE47 #47BEAA
square
#6F47BE #BE475A #96BE47 #47BEAA
split-complementary
#6F47BE #BEAA47 #5ABE47
monochromatic
#3A2466 #543494 #6F47BE #9274CE #B6A1DE

Accessibility & contrast

On white

6.32
#6F47BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6F47BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47BE
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47BE#FFFFFF#000000##FFFFFF
##6F47BE1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#5A627C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f47be;
/* rgb */ color: rgb(111, 71, 190);
/* oklch */ color: oklch(50.7% 0.178 294.7);
Tailwind
colors: {
  custom: {
    50: '#9e7cd2',
    500: '#6f47be',
    950: '#000000',
  },
}
SCSS
$custom: #6f47be;
$custom-light: #9e7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47be",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 260.168,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.17809,
    "h": 294.7
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#6F47BE
secondary
#B9CB96
accent
#D750AA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6F47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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