#6F27BD#6F27BD

#6F27BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.214 H 299.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6F27BD
RGBrgb(111, 39, 189)
HSLhsl(269, 66%, 45%)
HSVhsv(269, 79%, 74%)
CMYKcmyk(41.3%, 79.4%, 0%, 25.9%)
CIE-LABlab(35.01, 58.84, -65.22)
CIE-LCHlch(35.01, 87.84, 312.06°)
OKLaboklab(46.67% 0.1053 -0.1866)
OKLCHoklch(46.67% 0.214 299.4)
XYZxyz(16.4640, 8.5045, 48.9084)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27BD #75BD27
analogous
#272ABD #6F27BD #BA27BD
triadic
#6F27BD #BD6F27 #27BD6F
tetradic
#6F27BD #BD272A #75BD27 #27BDBA
square
#6F27BD #BD272A #75BD27 #27BDBA
split-complementary
#6F27BD #BDBA27 #2ABD27
monochromatic
#331258 #511D8A #6F27BD #8E48D9 #AD7BE4

Accessibility & contrast

On white

7.77
#6F27BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6F27BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27BD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27BD#FFFFFF#000000##FFFFFF
##6F27BD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5C5172
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f27bd;
/* rgb */ color: rgb(111, 39, 189);
/* oklch */ color: oklch(46.7% 0.214 299.4);
Tailwind
colors: {
  custom: {
    50: '#a06ad2',
    500: '#6f27bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f27bd;
$custom-light: #a06ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27bd",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 268.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.21423,
    "h": 299.4
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#6F27BD
secondary
#A2CC74
accent
#E93F97
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F27BD

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

Preview Lab → · Contrast checker → · Palette generator →

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