#6E27A3#6E27A3

#6E27A3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.188 H 306.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6E27A3
RGBrgb(110, 39, 163)
HSLhsl(274, 61%, 40%)
HSVhsv(274, 76%, 64%)
CMYKcmyk(32.5%, 76.1%, 0%, 36.1%)
CIE-LABlab(32.72, 52.56, -53.45)
CIE-LCHlch(32.72, 74.96, 314.52°)
OKLaboklab(44.37% 0.1106 -0.152)
OKLCHoklch(44.37% 0.188 306)
XYZxyz(13.7653, 7.4105, 35.3484)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A3 #5CA327
analogous
#3027A3 #6E27A3 #A3279A
triadic
#6E27A3 #A36E27 #27A36E
tetradic
#6E27A3 #A33027 #5CA327 #279AA3
square
#6E27A3 #A33027 #5CA327 #279AA3
split-complementary
#6E27A3 #9AA327 #27A330
monochromatic
#2B0F40 #4D1B72 #6E27A3 #8F38CF #AA69DB

Accessibility & contrast

On white

8.46
#6E27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6E27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A3#FFFFFF#000000##FFFFFF
##6E27A31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#644663
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e27a3;
/* rgb */ color: rgb(110, 39, 163);
/* oklch */ color: oklch(44.4% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#9d69bf',
    500: '#6e27a3',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a3;
$custom-light: #9d69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a3",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 274.355,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.18798,
    "h": 306
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#6E27A3
secondary
#8CC164
accent
#E44388
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6E27A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva