#6727AB#6727AB

#6727AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.195 H 300.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6727AB
RGBrgb(103, 39, 171)
HSLhsl(269, 63%, 41%)
HSVhsv(269, 77%, 67%)
CMYKcmyk(39.8%, 77.2%, 0%, 32.9%)
CIE-LABlab(32.42, 53.23, -58.79)
CIE-LCHlch(32.42, 79.31, 312.16°)
OKLaboklab(44.16% 0.0985 -0.168)
OKLCHoklch(44.16% 0.195 300.4)
XYZxyz(13.6679, 7.2748, 39.2043)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727AB #6BAB27
analogous
#2729AB #6727AB #A927AB
triadic
#6727AB #AB6727 #27AB67
tetradic
#6727AB #AB2729 #6BAB27 #27ABA9
square
#6727AB #AB2729 #6BAB27 #27ABA9
split-complementary
#6727AB #ABA927 #29AB27
monochromatic
#2B1047 #491C79 #6727AB #853DD3 #A56EDE

Accessibility & contrast

On white

8.55
#6727AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6727AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727AB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727AB#FFFFFF#000000##FFFFFF
##6727AB1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#574A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6727ab;
/* rgb */ color: rgb(103, 39, 171);
/* oklch */ color: oklch(44.2% 0.195 300.4);
Tailwind
colors: {
  custom: {
    50: '#9968c5',
    500: '#6727ab',
    950: '#000000',
  },
}
SCSS
$custom: #6727ab;
$custom-light: #9968c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6727ab",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 269.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.19474,
    "h": 300.4
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#6727AB
secondary
#98C569
accent
#E64296
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6727AB

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

Preview Lab → · Contrast checker → · Palette generator →

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