#6727B1#6727B1

#6727B1 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.201 H 298.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6727B1
RGBrgb(103, 39, 177)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 69%)
CMYKcmyk(41.8%, 78%, 0%, 30.6%)
CIE-LABlab(32.94, 54.70, -61.54)
CIE-LCHlch(32.94, 82.34, 311.63°)
OKLaboklab(44.68% 0.0969 -0.1761)
OKLCHoklch(44.68% 0.201 298.8)
XYZxyz(14.2528, 7.5087, 42.2849)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727B1 #71B127
analogous
#272CB1 #6727B1 #AC27B1
triadic
#6727B1 #B16727 #27B167
tetradic
#6727B1 #B1272C #71B127 #27B1AC
square
#6727B1 #B1272C #71B127 #27B1AC
split-complementary
#6727B1 #B1AC27 #2CB127
monochromatic
#2D114D #4A1C7F #6727B1 #8540D5 #A572E0

Accessibility & contrast

On white

8.39
#6727B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6727B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727B1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727B1#FFFFFF#000000##FFFFFF
##6727B11.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#554C6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6727b1;
/* rgb */ color: rgb(103, 39, 177);
/* oklch */ color: oklch(44.7% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#9969c9',
    500: '#6727b1',
    950: '#000000',
  },
}
SCSS
$custom: #6727b1;
$custom-light: #9969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6727b1",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 267.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.20096,
    "h": 298.8
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#6727B1
secondary
#9DC76D
accent
#E7419A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6727B1

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

Preview Lab → · Contrast checker → · Palette generator →

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