#6E27B3#6E27B3

#6E27B3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.204 H 301.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6E27B3
RGBrgb(110, 39, 179)
HSLhsl(270, 64%, 43%)
HSVhsv(270, 78%, 70%)
CMYKcmyk(38.5%, 78.2%, 0%, 29.8%)
CIE-LABlab(34.03, 56.31, -60.92)
CIE-LCHlch(34.03, 82.95, 312.75°)
OKLaboklab(45.69% 0.1067 -0.174)
OKLCHoklch(45.69% 0.204 301.5)
XYZxyz(15.2906, 8.0206, 43.3816)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27B3 #6CB327
analogous
#2827B3 #6E27B3 #B327B2
triadic
#6E27B3 #B36E27 #27B36E
tetradic
#6E27B3 #B32827 #6CB327 #27B2B3
square
#6E27B3 #B32827 #6CB327 #27B2B3
split-complementary
#6E27B3 #B2B327 #27B328
monochromatic
#30114E #4F1C81 #6E27B3 #8D41D6 #AB74E1

Accessibility & contrast

On white

8.06
#6E27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E27B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27B3
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27B3#FFFFFF#000000##FFFFFF
##6E27B31.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#5F4C6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e27b3;
/* rgb */ color: rgb(110, 39, 179);
/* oklch */ color: oklch(45.7% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#9e6acb',
    500: '#6e27b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e27b3;
$custom-light: #9e6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27b3",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 270.429,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.20406,
    "h": 301.5
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#6E27B3
secondary
#9AC86E
accent
#E74193
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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