#6F47DB#6F47DB

#6F47DB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.213 H 289.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6F47DB
RGBrgb(111, 71, 219)
HSLhsl(256, 67%, 57%)
HSVhsv(256, 68%, 86%)
CMYKcmyk(49.3%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.76, 51.80, -69.95)
CIE-LCHlch(42.76, 87.04, 306.52°)
OKLaboklab(52.91% 0.071 -0.2006)
OKLCHoklch(52.91% 0.213 289.5)
XYZxyz(21.5913, 12.9995, 68.3756)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47DB #B3DB47
analogous
#4769DB #6F47DB #B947DB
triadic
#6F47DB #DB6F47 #47DB6F
tetradic
#6F47DB #DB4769 #B3DB47 #47DBB9
square
#6F47DB #DB4769 #B3DB47 #47DBB9
split-complementary
#6F47DB #DBB947 #69DB47
monochromatic
#3A1B8C #4F25BF #6F47DB #977AE5 #BFADEF

Accessibility & contrast

On white

5.83
#6F47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6F47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47DB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47DB#FFFFFF#000000##FFFFFF
##6F47DB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#4A6C8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f47db;
/* rgb */ color: rgb(111, 71, 219);
/* oklch */ color: oklch(52.9% 0.213 289.5);
Tailwind
colors: {
  custom: {
    50: '#a17de7',
    500: '#6f47db',
    950: '#000000',
  },
}
SCSS
$custom: #6f47db;
$custom-light: #a17de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47db",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 256.216,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.21284,
    "h": 289.5
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#6F47DB
secondary
#CDDDA1
accent
#EA3EBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6F47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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