#6727A4#6727A4

#6727A4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.187 H 302.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6727A4
RGBrgb(103, 39, 164)
HSLhsl(271, 62%, 40%)
HSVhsv(271, 76%, 64%)
CMYKcmyk(37.2%, 76.2%, 0%, 35.7%)
CIE-LABlab(31.84, 51.53, -55.53)
CIE-LCHlch(31.84, 75.76, 312.86°)
OKLaboklab(43.57% 0.1003 -0.1584)
OKLCHoklch(43.57% 0.187 302.3)
XYZxyz(13.0183, 7.0149, 35.7829)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727A4 #64A427
analogous
#2927A4 #6727A4 #A427A2
triadic
#6727A4 #A46727 #27A467
tetradic
#6727A4 #A42927 #64A427 #27A2A4
square
#6727A4 #A42927 #64A427 #27A2A4
split-complementary
#6727A4 #A2A427 #27A429
monochromatic
#290F41 #481B73 #6727A4 #8638D0 #A46ADC

Accessibility & contrast

On white

8.74
#6727A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6727A4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727A4#FFFFFF#000000##FFFFFF
##6727A41.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#5A4764
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6727a4;
/* rgb */ color: rgb(103, 39, 164);
/* oklch */ color: oklch(43.6% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#9868c0',
    500: '#6727a4',
    950: '#000000',
  },
}
SCSS
$custom: #6727a4;
$custom-light: #9868c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6727a4",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 270.72,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.18748,
    "h": 302.3
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#6727A4
secondary
#92C265
accent
#E54392
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6727A4

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

Preview Lab → · Contrast checker → · Palette generator →

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