#6D27C4#6D27C4

#6D27C4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.221 H 297.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6D27C4
RGBrgb(109, 39, 196)
HSLhsl(267, 67%, 46%)
HSVhsv(267, 80%, 77%)
CMYKcmyk(44.4%, 80.1%, 0%, 23.1%)
CIE-LABlab(35.38, 60.23, -68.74)
CIE-LCHlch(35.38, 91.40, 311.22°)
OKLaboklab(47.05% 0.1002 -0.197)
OKLCHoklch(47.05% 0.221 297)
XYZxyz(16.9934, 8.6874, 52.9954)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D27C4 #7EC427
analogous
#272FC4 #6D27C4 #BB27C4
triadic
#6D27C4 #C46D27 #27C46D
tetradic
#6D27C4 #C4272F #7EC427 #27C4BB
square
#6D27C4 #C4272F #7EC427 #27C4BB
split-complementary
#6D27C4 #C4BB27 #2FC427
monochromatic
#34135E #511D91 #6D27C4 #8C4DDC #AD80E6

Accessibility & contrast

On white

7.67
#6D27C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6D27C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D27C4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D27C4#FFFFFF#000000##FFFFFF
##6D27C41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#555476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d27c4;
/* rgb */ color: rgb(109, 39, 196);
/* oklch */ color: oklch(47.1% 0.221 297.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ad7',
    500: '#6d27c4',
    950: '#000000',
  },
}
SCSS
$custom: #6d27c4;
$custom-light: #9f6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d27c4",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 266.752,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.221,
    "h": 297
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#6D27C4
secondary
#A8CE79
accent
#EA3E9D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6D27C4

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

Preview Lab → · Contrast checker → · Palette generator →

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