#6727AD#6727AD

#6727AD is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.197 H 299.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6727AD
RGBrgb(103, 39, 173)
HSLhsl(269, 63%, 42%)
HSVhsv(269, 77%, 68%)
CMYKcmyk(40.5%, 77.5%, 0%, 32.2%)
CIE-LABlab(32.59, 53.72, -59.71)
CIE-LCHlch(32.59, 80.32, 311.97°)
OKLaboklab(44.33% 0.098 -0.1707)
OKLCHoklch(44.33% 0.197 299.9)
XYZxyz(13.8600, 7.3516, 40.2158)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727AD #6DAD27
analogous
#272AAD #6727AD #AA27AD
triadic
#6727AD #AD6727 #27AD67
tetradic
#6727AD #AD272A #6DAD27 #27ADAA
square
#6727AD #AD272A #6DAD27 #27ADAA
split-complementary
#6727AD #ADAA27 #2AAD27
monochromatic
#2C1049 #491C7B #6727AD #853ED3 #A570DF

Accessibility & contrast

On white

8.50
#6727AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6727AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727AD
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727AD#FFFFFF#000000##FFFFFF
##6727AD1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#564B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6727ad;
/* rgb */ color: rgb(103, 39, 173);
/* oklch */ color: oklch(44.3% 0.197 299.9);
Tailwind
colors: {
  custom: {
    50: '#9969c6',
    500: '#6727ad',
    950: '#000000',
  },
}
SCSS
$custom: #6727ad;
$custom-light: #9969c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6727ad",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 268.657,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44328,
    "c": 0.19682,
    "h": 299.9
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#6727AD
secondary
#9AC66A
accent
#E64298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6727AD

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

Preview Lab → · Contrast checker → · Palette generator →

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