#6D27A3#6D27A3

#6D27A3 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.188 H 305.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6D27A3
RGBrgb(109, 39, 163)
HSLhsl(274, 61%, 40%)
HSVhsv(274, 76%, 64%)
CMYKcmyk(33.1%, 76.1%, 0%, 36.1%)
CIE-LABlab(32.58, 52.37, -53.68)
CIE-LCHlch(32.58, 75.00, 314.29°)
OKLaboklab(44.24% 0.1091 -0.1528)
OKLCHoklch(44.24% 0.188 305.5)
XYZxyz(13.6416, 7.3467, 35.3426)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27A3 #5DA327
analogous
#2F27A3 #6D27A3 #A3279B
triadic
#6D27A3 #A36D27 #27A36D
tetradic
#6D27A3 #A32F27 #5DA327 #279BA3
square
#6D27A3 #A32F27 #5DA327 #279BA3
split-complementary
#6D27A3 #9BA327 #27A32F
monochromatic
#2B0F40 #4C1B72 #6D27A3 #8D38CF #AA69DB

Accessibility & contrast

On white

8.50
#6D27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6D27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27A3
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27A3#FFFFFF#000000##FFFFFF
##6D27A31.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#634663
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d27a3;
/* rgb */ color: rgb(109, 39, 163);
/* oklch */ color: oklch(44.2% 0.188 305.5);
Tailwind
colors: {
  custom: {
    50: '#9c69bf',
    500: '#6d27a3',
    950: '#000000',
  },
}
SCSS
$custom: #6d27a3;
$custom-light: #9c69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27a3",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 273.871,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.18774,
    "h": 305.5
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#6D27A3
secondary
#8DC164
accent
#E4438A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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