#6D27AF#6D27AF

#6D27AF is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.200 H 302.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6D27AF
RGBrgb(109, 39, 175)
HSLhsl(271, 64%, 42%)
HSVhsv(271, 78%, 69%)
CMYKcmyk(37.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(33.56, 55.19, -59.30)
CIE-LCHlch(33.56, 81.01, 312.94°)
OKLaboklab(45.23% 0.1063 -0.1693)
OKLCHoklch(45.23% 0.2 302.1)
XYZxyz(14.7682, 7.7973, 41.2761)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27AF #69AF27
analogous
#2927AF #6D27AF #AF27AD
triadic
#6D27AF #AF6D27 #27AF6D
tetradic
#6D27AF #AF2927 #69AF27 #27ADAF
square
#6D27AF #AF2927 #69AF27 #27ADAF
split-complementary
#6D27AF #ADAF27 #27AF29
monochromatic
#2F114B #4E1C7D #6D27AF #8C3FD4 #AA71DF

Accessibility & contrast

On white

8.21
#6D27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6D27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27AF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27AF#FFFFFF#000000##FFFFFF
##6D27AF1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5F4B6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d27af;
/* rgb */ color: rgb(109, 39, 175);
/* oklch */ color: oklch(45.2% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d69c8',
    500: '#6d27af',
    950: '#000000',
  },
}
SCSS
$custom: #6d27af;
$custom-light: #9d69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27af",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 270.882,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.19986,
    "h": 302.1
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#6D27AF
secondary
#98C66B
accent
#E74191
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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