#6F47AF#6F47AF

#6F47AF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.6% C 0.160 H 298.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6F47AF
RGBrgb(111, 71, 175)
HSLhsl(263, 42%, 48%)
HSVhsv(263, 59%, 69%)
CMYKcmyk(36.6%, 59.4%, 0%, 31.4%)
CIE-LABlab(39.55, 39.74, -49.58)
CIE-LCHlch(39.55, 63.54, 308.72°)
OKLaboklab(49.57% 0.0751 -0.1408)
OKLCHoklch(49.57% 0.16 298.1)
XYZxyz(16.5447, 10.9809, 41.7970)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47AF #87AF47
analogous
#4753AF #6F47AF #A347AF
triadic
#6F47AF #AF6F47 #47AF6F
tetradic
#6F47AF #AF4753 #87AF47 #47AFA3
square
#6F47AF #AF4753 #87AF47 #47AFA3
split-complementary
#6F47AF #AFA347 #53AF47
monochromatic
#382458 #533583 #6F47AF #906FC4 #B19AD6

Accessibility & contrast

On white

6.57
#6F47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6F47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47AF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47AF#FFFFFF#000000##FFFFFF
##6F47AF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#605D74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6f47af;
/* rgb */ color: rgb(111, 71, 175);
/* oklch */ color: oklch(49.6% 0.160 298.1);
Tailwind
colors: {
  custom: {
    50: '#9c7cc7',
    500: '#6f47af',
    950: '#000000',
  },
}
SCSS
$custom: #6f47af;
$custom-light: #9c7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47af",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 263.077,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.15953,
    "h": 298.1
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#6F47AF
secondary
#AFC28F
accent
#D256A2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6F47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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