#6D47BE#6D47BE

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

Color values

HEX#6D47BE
RGBrgb(109, 71, 190)
HSLhsl(259, 48%, 51%)
HSVhsv(259, 63%, 75%)
CMYKcmyk(42.6%, 62.6%, 0%, 25.5%)
CIE-LABlab(40.37, 43.37, -57.09)
CIE-LCHlch(40.37, 71.70, 307.22°)
OKLaboklab(50.45% 0.0717 -0.1629)
OKLCHoklch(50.45% 0.178 293.7)
XYZxyz(17.8517, 11.4749, 49.9795)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47BE #98BE47
analogous
#475CBE #6D47BE #A847BE
triadic
#6D47BE #BE6D47 #47BE6D
tetradic
#6D47BE #BE475C #98BE47 #47BEA8
square
#6D47BE #BE475C #98BE47 #47BEA8
split-complementary
#6D47BE #BEA847 #5CBE47
monochromatic
#392466 #533494 #6D47BE #9174CE #B5A1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D47BE#FFFFFF#000000##FFFFFF
##6D47BE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#57627C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d47be;
/* rgb */ color: rgb(109, 71, 190);
/* oklch */ color: oklch(50.5% 0.178 293.7);
Tailwind
colors: {
  custom: {
    50: '#9d7cd2',
    500: '#6d47be',
    950: '#000000',
  },
}
SCSS
$custom: #6d47be;
$custom-light: #9d7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47be",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 259.16,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50451,
    "c": 0.17797,
    "h": 293.7
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#6D47BE
secondary
#BACB96
accent
#D750AC
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6D47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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