#6F47CD#6F47CD

#6F47CD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.196 H 291.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6F47CD
RGBrgb(111, 71, 205)
HSLhsl(258, 57%, 54%)
HSVhsv(258, 65%, 80%)
CMYKcmyk(45.9%, 65.4%, 0%, 19.6%)
CIE-LABlab(41.68, 47.91, -63.68)
CIE-LCHlch(41.68, 79.69, 306.96°)
OKLaboklab(51.8% 0.0729 -0.1822)
OKLCHoklch(51.8% 0.196 291.8)
XYZxyz(19.8252, 12.2931, 59.0740)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47CD #A5CD47
analogous
#4762CD #6F47CD #B247CD
triadic
#6F47CD #CD6F47 #47CD6F
tetradic
#6F47CD #CD4762 #A5CD47 #47CDB2
square
#6F47CD #CD4762 #A5CD47 #47CDB2
split-complementary
#6F47CD #CDB247 #62CD47
monochromatic
#3B2179 #532EA9 #6F47CD #9577DA #BAA7E7

Accessibility & contrast

On white

6.07
#6F47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6F47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47CD#FFFFFF#000000##FFFFFF
##6F47CD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#536784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f47cd;
/* rgb */ color: rgb(111, 71, 205);
/* oklch */ color: oklch(51.8% 0.196 291.8);
Tailwind
colors: {
  custom: {
    50: '#a07ddd',
    500: '#6f47cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f47cd;
$custom-light: #a07ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47cd",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 257.91,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.19625,
    "h": 291.8
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#6F47CD
secondary
#C3D49B
accent
#E147B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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