#6F47DC#6F47DC

#6F47DC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.214 H 289.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6F47DC
RGBrgb(111, 71, 220)
HSLhsl(256, 68%, 57%)
HSVhsv(256, 68%, 86%)
CMYKcmyk(49.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(42.84, 52.07, -70.40)
CIE-LCHlch(42.84, 87.56, 306.49°)
OKLaboklab(52.99% 0.0708 -0.2019)
OKLCHoklch(52.99% 0.214 289.3)
XYZxyz(21.7233, 13.0524, 69.0710)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47DC #B4DC47
analogous
#476ADC #6F47DC #B947DC
triadic
#6F47DC #DC6F47 #47DC6F
tetradic
#6F47DC #DC476A #B4DC47 #47DCB9
square
#6F47DC #DC476A #B4DC47 #47DCB9
split-complementary
#6F47DC #DCB947 #6ADC47
monochromatic
#3A1B8E #4F25C1 #6F47DC #977AE6 #BFAEF0

Accessibility & contrast

On white

5.82
#6F47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6F47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47DC#FFFFFF#000000##FFFFFF
##6F47DC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#496D8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f47dc;
/* rgb */ color: rgb(111, 71, 220);
/* oklch */ color: oklch(53.0% 0.214 289.3);
Tailwind
colors: {
  custom: {
    50: '#a17de8',
    500: '#6f47dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f47dc;
$custom-light: #a17de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47dc",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 256.107,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.21401,
    "h": 289.3
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#6F47DC
secondary
#CDDEA1
accent
#EB3DBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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