#6D47D8#6D47D8

#6D47D8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.209 H 289.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6D47D8
RGBrgb(109, 71, 216)
HSLhsl(256, 65%, 56%)
HSVhsv(256, 67%, 85%)
CMYKcmyk(49.5%, 67.1%, 0%, 15.3%)
CIE-LABlab(42.33, 50.61, -68.95)
CIE-LCHlch(42.33, 85.53, 306.28°)
OKLaboklab(52.48% 0.0687 -0.1978)
OKLCHoklch(52.48% 0.209 289.2)
XYZxyz(20.9510, 12.7147, 66.3027)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D47D8 #B2D847
analogous
#476AD8 #6D47D8 #B647D8
triadic
#6D47D8 #D86D47 #47D86D
tetradic
#6D47D8 #D8476A #B2D847 #47D8B6
square
#6D47D8 #D8476A #B2D847 #47D8B6
split-complementary
#6D47D8 #D8B647 #6AD847
monochromatic
#391D88 #4E27BA #6D47D8 #9579E3 #BDACED

Accessibility & contrast

On white

5.93
#6D47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6D47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D47D8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D47D8#FFFFFF#000000##FFFFFF
##6D47D81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#486B8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d47d8;
/* rgb */ color: rgb(109, 71, 216);
/* oklch */ color: oklch(52.5% 0.209 289.2);
Tailwind
colors: {
  custom: {
    50: '#a07de5',
    500: '#6d47d8',
    950: '#000000',
  },
}
SCSS
$custom: #6d47d8;
$custom-light: #a07de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d47d8",
  "rgb": {
    "r": 109,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 255.724,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.20936,
    "h": 289.2
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#6D47D8
secondary
#CCDBA0
accent
#E840BC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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