#6F27AE#6F27AE

#6F27AE is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.199 H 303.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6F27AE
RGBrgb(111, 39, 174)
HSLhsl(272, 63%, 42%)
HSVhsv(272, 78%, 68%)
CMYKcmyk(36.2%, 77.6%, 0%, 31.8%)
CIE-LABlab(33.75, 55.30, -58.39)
CIE-LCHlch(33.75, 80.42, 313.44°)
OKLaboklab(45.39% 0.1094 -0.1665)
OKLCHoklch(45.39% 0.199 303.3)
XYZxyz(14.9192, 7.8865, 40.7725)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27AE #66AE27
analogous
#2C27AE #6F27AE #AE27AA
triadic
#6F27AE #AE6F27 #27AE6F
tetradic
#6F27AE #AE2C27 #66AE27 #27AAAE
square
#6F27AE #AE2C27 #66AE27 #27AAAE
split-complementary
#6F27AE #AAAE27 #27AE2C
monochromatic
#2F114A #4F1C7C #6F27AE #8E3ED4 #AB70DF

Accessibility & contrast

On white

8.15
#6F27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27AE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27AE#FFFFFF#000000##FFFFFF
##6F27AE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#624A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f27ae;
/* rgb */ color: rgb(111, 39, 174);
/* oklch */ color: oklch(45.4% 0.199 303.3);
Tailwind
colors: {
  custom: {
    50: '#9e69c7',
    500: '#6f27ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f27ae;
$custom-light: #9e69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27ae",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 272,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.19923,
    "h": 303.3
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#6F27AE
secondary
#95C66B
accent
#E6418E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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