#6E27B4#6E27B4

#6E27B4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.205 H 301.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6E27B4
RGBrgb(110, 39, 180)
HSLhsl(270, 64%, 43%)
HSVhsv(270, 78%, 71%)
CMYKcmyk(38.9%, 78.3%, 0%, 29.4%)
CIE-LABlab(34.11, 56.54, -61.37)
CIE-LCHlch(34.11, 83.45, 312.65°)
OKLaboklab(45.77% 0.1064 -0.1753)
OKLCHoklch(45.77% 0.205 301.2)
XYZxyz(15.3921, 8.0612, 43.9162)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27B4 #6DB427
analogous
#2727B4 #6E27B4 #B427B3
triadic
#6E27B4 #B46E27 #27B46E
tetradic
#6E27B4 #B42727 #6DB427 #27B3B4
square
#6E27B4 #B42727 #6DB427 #27B3B4
split-complementary
#6E27B4 #B3B427 #27B427
monochromatic
#31114F #4F1C82 #6E27B4 #8D42D6 #AB74E1

Accessibility & contrast

On white

8.04
#6E27B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6E27B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27B4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27B4#FFFFFF#000000##FFFFFF
##6E27B41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#5E4D6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e27b4;
/* rgb */ color: rgb(110, 39, 180);
/* oklch */ color: oklch(45.8% 0.205 301.2);
Tailwind
colors: {
  custom: {
    50: '#9e6acb',
    500: '#6e27b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e27b4;
$custom-light: #9e6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27b4",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 270.213,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.20506,
    "h": 301.2
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#6E27B4
secondary
#9BC86F
accent
#E74093
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27B4

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

Preview Lab → · Contrast checker → · Palette generator →

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