#6727B2#6727B2

#6727B2 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.202 H 298.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6727B2
RGBrgb(103, 39, 178)
HSLhsl(268, 64%, 43%)
HSVhsv(268, 78%, 70%)
CMYKcmyk(42.1%, 78.1%, 0%, 30.2%)
CIE-LABlab(33.02, 54.95, -61.99)
CIE-LCHlch(33.02, 82.84, 311.55°)
OKLaboklab(44.76% 0.0966 -0.1774)
OKLCHoklch(44.76% 0.202 298.6)
XYZxyz(14.3529, 7.5487, 42.8117)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727B2 #72B227
analogous
#272DB2 #6727B2 #AC27B2
triadic
#6727B2 #B26727 #27B267
tetradic
#6727B2 #B2272D #72B227 #27B2AC
square
#6727B2 #B2272D #72B227 #27B2AC
split-complementary
#6727B2 #B2AC27 #2DB227
monochromatic
#2D114E #4A1C80 #6727B2 #8541D5 #A573E0

Accessibility & contrast

On white

8.37
#6727B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6727B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727B2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727B2#FFFFFF#000000##FFFFFF
##6727B21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#544D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6727b2;
/* rgb */ color: rgb(103, 39, 178);
/* oklch */ color: oklch(44.8% 0.202 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a69ca',
    500: '#6727b2',
    950: '#000000',
  },
}
SCSS
$custom: #6727b2;
$custom-light: #9a69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6727b2",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 267.626,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.20199,
    "h": 298.6
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#6727B2
secondary
#9EC86D
accent
#E7419A
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6727B2

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

Preview Lab → · Contrast checker → · Palette generator →

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