#6727A6#6727A6

#6727A6 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.190 H 301.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6727A6
RGBrgb(103, 39, 166)
HSLhsl(270, 62%, 40%)
HSVhsv(270, 77%, 65%)
CMYKcmyk(38%, 76.5%, 0%, 34.9%)
CIE-LABlab(32.01, 52.01, -56.47)
CIE-LCHlch(32.01, 76.77, 312.65°)
OKLaboklab(43.73% 0.0998 -0.1612)
OKLCHoklch(43.73% 0.19 301.8)
XYZxyz(13.2003, 7.0877, 36.7416)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727A6 #66A627
analogous
#2727A6 #6727A6 #A627A5
triadic
#6727A6 #A66727 #27A667
tetradic
#6727A6 #A62727 #66A627 #27A5A6
square
#6727A6 #A62727 #66A627 #27A5A6
split-complementary
#6727A6 #A5A627 #27A627
monochromatic
#2A1043 #481B74 #6727A6 #863AD1 #A46BDC

Accessibility & contrast

On white

8.69
#6727A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6727A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727A6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727A6#FFFFFF#000000##FFFFFF
##6727A61.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#594865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6727a6;
/* rgb */ color: rgb(103, 39, 166);
/* oklch */ color: oklch(43.7% 0.190 301.8);
Tailwind
colors: {
  custom: {
    50: '#9868c1',
    500: '#6727a6',
    950: '#000000',
  },
}
SCSS
$custom: #6727a6;
$custom-light: #9868c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6727a6",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 270.236,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.18955,
    "h": 301.8
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#6727A6
secondary
#94C366
accent
#E54393
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6727A6

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

Preview Lab → · Contrast checker → · Palette generator →

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