#6727A2#6727A2

#6727A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.185 H 302.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6727A2
RGBrgb(103, 39, 162)
HSLhsl(271, 61%, 39%)
HSVhsv(271, 76%, 64%)
CMYKcmyk(36.4%, 75.9%, 0%, 36.5%)
CIE-LABlab(31.68, 51.04, -54.59)
CIE-LCHlch(31.68, 74.74, 313.08°)
OKLaboklab(43.4% 0.1007 -0.1556)
OKLCHoklch(43.4% 0.185 302.9)
XYZxyz(12.8391, 6.9432, 34.8392)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727A2 #62A227
analogous
#2A27A2 #6727A2 #A2279F
triadic
#6727A2 #A26727 #27A267
tetradic
#6727A2 #A22A27 #62A227 #279FA2
square
#6727A2 #A22A27 #62A227 #279FA2
split-complementary
#6727A2 #9FA227 #27A22A
monochromatic
#280F3F #481B71 #6727A2 #8637CF #A469DB

Accessibility & contrast

On white

8.79
#6727A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6727A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727A2
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727A2#FFFFFF#000000##FFFFFF
##6727A21.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#5B4663
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6727a2;
/* rgb */ color: rgb(103, 39, 162);
/* oklch */ color: oklch(43.4% 0.185 302.9);
Tailwind
colors: {
  custom: {
    50: '#9868be',
    500: '#6727a2',
    950: '#000000',
  },
}
SCSS
$custom: #6727a2;
$custom-light: #9868be;
$custom-dark: #000000;
JSON
{
  "hex": "#6727a2",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 271.22,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.434,
    "c": 0.18539,
    "h": 302.9
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6727A2

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

Preview Lab → · Contrast checker → · Palette generator →

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