#6F27AA#6F27AA

#6F27AA is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.195 H 304.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6F27AA
RGBrgb(111, 39, 170)
HSLhsl(273, 63%, 41%)
HSVhsv(273, 77%, 67%)
CMYKcmyk(34.7%, 77.1%, 0%, 33.3%)
CIE-LABlab(33.42, 54.36, -56.52)
CIE-LCHlch(33.42, 78.42, 313.88°)
OKLaboklab(45.06% 0.1104 -0.161)
OKLCHoklch(45.06% 0.195 304.4)
XYZxyz(14.5351, 7.7329, 38.7493)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F27AA #62AA27
analogous
#2D27AA #6F27AA #AA27A3
triadic
#6F27AA #AA6F27 #27AA6F
tetradic
#6F27AA #AA2D27 #62AA27 #27A3AA
square
#6F27AA #AA2D27 #62AA27 #27A3AA
split-complementary
#6F27AA #A3AA27 #27AA2D
monochromatic
#2E1046 #4E1C78 #6F27AA #8F3CD2 #AB6EDE

Accessibility & contrast

On white

8.25
#6F27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F27AA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F27AA#FFFFFF#000000##FFFFFF
##6F27AA1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#644967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f27aa;
/* rgb */ color: rgb(111, 39, 170);
/* oklch */ color: oklch(45.1% 0.195 304.4);
Tailwind
colors: {
  custom: {
    50: '#9e69c4',
    500: '#6f27aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f27aa;
$custom-light: #9e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f27aa",
  "rgb": {
    "r": 111,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 272.977,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45061,
    "c": 0.19523,
    "h": 304.4
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#6F27AA
secondary
#92C469
accent
#E6428C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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