#6E1FA7#6E1FA7

#6E1FA7 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.200 H 305.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6E1FA7
RGBrgb(110, 31, 167)
HSLhsl(275, 69%, 39%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(34.1%, 81.4%, 0%, 34.5%)
CIE-LABlab(32.00, 56.49, -57.04)
CIE-LCHlch(32.00, 80.28, 314.72°)
OKLaboklab(43.96% 0.1163 -0.1625)
OKLCHoklch(43.96% 0.2 305.6)
XYZxyz(13.8939, 7.0851, 37.1873)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FA7 #58A71F
analogous
#2A1FA7 #6E1FA7 #A71F9C
triadic
#6E1FA7 #A76E1F #1FA76E
tetradic
#6E1FA7 #A72A1F #58A71F #1F9CA7
square
#6E1FA7 #A72A1F #58A71F #1F9CA7
split-complementary
#6E1FA7 #9CA71F #1FA72A
monochromatic
#2A0C40 #4C1573 #6E1FA7 #902BD8 #AB5FE1

Accessibility & contrast

On white

8.69
#6E1FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6E1FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1FA7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FA7#FFFFFF#000000##FFFFFF
##6E1FA71.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#634464
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e1fa7;
/* rgb */ color: rgb(110, 31, 167);
/* oklch */ color: oklch(44.0% 0.200 305.6);
Tailwind
colors: {
  custom: {
    50: '#9d65c2',
    500: '#6e1fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fa7;
$custom-light: #9d65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fa7",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 274.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.19984,
    "h": 305.6
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#6E1FA7
secondary
#88C65C
accent
#EC3C86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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