#6E27A2#6E27A2

#6E27A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.187 H 306.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6E27A2
RGBrgb(110, 39, 162)
HSLhsl(275, 61%, 39%)
HSVhsv(275, 76%, 64%)
CMYKcmyk(32.1%, 75.9%, 0%, 36.5%)
CIE-LABlab(32.65, 52.33, -52.97)
CIE-LCHlch(32.65, 74.46, 314.65°)
OKLaboklab(44.29% 0.1108 -0.1506)
OKLCHoklch(44.29% 0.187 306.3)
XYZxyz(13.6761, 7.3748, 34.8784)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E27A2 #5BA227
analogous
#3127A2 #6E27A2 #A22799
triadic
#6E27A2 #A26E27 #27A26E
tetradic
#6E27A2 #A23127 #5BA227 #2799A2
square
#6E27A2 #A23127 #5BA227 #2799A2
split-complementary
#6E27A2 #99A227 #27A231
monochromatic
#2B0F3F #4D1B71 #6E27A2 #8F37CF #AB69DB

Accessibility & contrast

On white

8.48
#6E27A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E27A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E27A2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E27A2#FFFFFF#000000##FFFFFF
##6E27A21.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#654563
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e27a2;
/* rgb */ color: rgb(110, 39, 162);
/* oklch */ color: oklch(44.3% 0.187 306.3);
Tailwind
colors: {
  custom: {
    50: '#9d69be',
    500: '#6e27a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e27a2;
$custom-light: #9d69be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e27a2",
  "rgb": {
    "r": 110,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 274.634,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.18698,
    "h": 306.3
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#6E27A2
secondary
#8BC164
accent
#E44387
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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