#6727A3#6727A3

#6727A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.186 H 302.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6727A3
RGBrgb(103, 39, 163)
HSLhsl(271, 61%, 40%)
HSVhsv(271, 76%, 64%)
CMYKcmyk(36.8%, 76.1%, 0%, 36.1%)
CIE-LABlab(31.76, 51.28, -55.06)
CIE-LCHlch(31.76, 75.25, 312.96°)
OKLaboklab(43.48% 0.1005 -0.157)
OKLCHoklch(43.48% 0.186 302.6)
XYZxyz(12.9283, 6.9789, 35.3092)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727A3 #63A327
analogous
#2927A3 #6727A3 #A327A1
triadic
#6727A3 #A36727 #27A367
tetradic
#6727A3 #A32927 #63A327 #27A1A3
square
#6727A3 #A32927 #63A327 #27A1A3
split-complementary
#6727A3 #A1A327 #27A329
monochromatic
#290F40 #481B72 #6727A3 #8638CF #A469DB

Accessibility & contrast

On white

8.77
#6727A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6727A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727A3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727A3#FFFFFF#000000##FFFFFF
##6727A31.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#5A4763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6727a3;
/* rgb */ color: rgb(103, 39, 163);
/* oklch */ color: oklch(43.5% 0.186 302.6);
Tailwind
colors: {
  custom: {
    50: '#9868bf',
    500: '#6727a3',
    950: '#000000',
  },
}
SCSS
$custom: #6727a3;
$custom-light: #9868bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6727a3",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 270.968,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.18644,
    "h": 302.6
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#6727A3
secondary
#91C164
accent
#E44391
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6727A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6727A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva