#6D27B3#6D27B3

#6D27B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.204 H 301.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6D27B3
RGBrgb(109, 39, 179)
HSLhsl(270, 64%, 43%)
HSVhsv(270, 78%, 70%)
CMYKcmyk(39.1%, 78.2%, 0%, 29.8%)
CIE-LABlab(33.89, 56.14, -61.14)
CIE-LCHlch(33.89, 83.01, 312.56°)
OKLaboklab(45.57% 0.1052 -0.1747)
OKLCHoklch(45.57% 0.204 301.1)
XYZxyz(15.1669, 7.9568, 43.3758)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27B3 #6DB327
analogous
#2727B3 #6D27B3 #B327B3
triadic
#6D27B3 #B36D27 #27B36D
tetradic
#6D27B3 #B32727 #6DB327 #27B3B3
square
#6D27B3 #B32727 #6DB327 #27B3B3
split-complementary
#6D27B3 #B3B327 #27B327
monochromatic
#30114E #4E1C81 #6D27B3 #8C41D6 #AA74E1

Accessibility & contrast

On white

8.10
#6D27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D27B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27B3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27B3#FFFFFF#000000##FFFFFF
##6D27B31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#5D4D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d27b3;
/* rgb */ color: rgb(109, 39, 179);
/* oklch */ color: oklch(45.6% 0.204 301.1);
Tailwind
colors: {
  custom: {
    50: '#9d69cb',
    500: '#6d27b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d27b3;
$custom-light: #9d69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27b3",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 270,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.20389,
    "h": 301.1
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#6D27B3
secondary
#9BC86E
accent
#E74194
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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