#6F27BA#6F27BA

#6F27BA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.211 H 300.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6F27BA
RGBrgb(111, 39, 186)
HSLhsl(269, 65%, 44%)
HSVhsv(269, 79%, 73%)
CMYKcmyk(40.3%, 79%, 0%, 27.1%)
CIE-LABlab(34.75, 58.13, -63.87)
CIE-LCHlch(34.75, 86.36, 312.30°)
OKLaboklab(46.41% 0.1062 -0.1826)
OKLCHoklch(46.41% 0.211 300.2)
XYZxyz(16.1418, 8.3756, 47.2111)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27BA #72BA27
analogous
#2729BA #6F27BA #B927BA
triadic
#6F27BA #BA6F27 #27BA6F
tetradic
#6F27BA #BA2729 #72BA27 #27BAB9
square
#6F27BA #BA2729 #72BA27 #27BAB9
split-complementary
#6F27BA #BAB927 #29BA27
monochromatic
#331255 #511C87 #6F27BA #8E46D8 #AD79E3

Accessibility & contrast

On white

7.85
#6F27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6F27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27BA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27BA#FFFFFF#000000##FFFFFF
##6F27BA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#5D4F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f27ba;
/* rgb */ color: rgb(111, 39, 186);
/* oklch */ color: oklch(46.4% 0.211 300.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ad0',
    500: '#6f27ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f27ba;
$custom-light: #9f6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27ba",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 269.388,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.21123,
    "h": 300.2
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#6F27BA
secondary
#9FCB72
accent
#E84096
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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