#6D27A5#6D27A5

#6D27A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.190 H 304.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6D27A5
RGBrgb(109, 39, 165)
HSLhsl(273, 62%, 40%)
HSVhsv(273, 76%, 65%)
CMYKcmyk(33.9%, 76.4%, 0%, 35.3%)
CIE-LABlab(32.74, 52.84, -54.63)
CIE-LCHlch(32.74, 76.01, 314.04°)
OKLaboklab(44.4% 0.1087 -0.1555)
OKLCHoklch(44.4% 0.19 304.9)
XYZxyz(13.8222, 7.4189, 36.2938)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27A5 #5FA527
analogous
#2E27A5 #6D27A5 #A5279E
triadic
#6D27A5 #A56D27 #27A56D
tetradic
#6D27A5 #A52E27 #5FA527 #279EA5
square
#6D27A5 #A52E27 #5FA527 #279EA5
split-complementary
#6D27A5 #9EA527 #27A52E
monochromatic
#2C1042 #4C1B74 #6D27A5 #8D39D0 #A96ADC

Accessibility & contrast

On white

8.45
#6D27A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6D27A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27A5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27A5#FFFFFF#000000##FFFFFF
##6D27A51.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#624765
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d27a5;
/* rgb */ color: rgb(109, 39, 165);
/* oklch */ color: oklch(44.4% 0.190 304.9);
Tailwind
colors: {
  custom: {
    50: '#9c69c1',
    500: '#6d27a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d27a5;
$custom-light: #9c69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27a5",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 273.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.18976,
    "h": 304.9
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#6D27A5
secondary
#8FC266
accent
#E5438B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D27A5

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

Preview Lab → · Contrast checker → · Palette generator →

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