#6E1FA6#6E1FA6

#6E1FA6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.9% C 0.199 H 305.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6E1FA6
RGBrgb(110, 31, 166)
HSLhsl(275, 69%, 39%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(33.7%, 81.3%, 0%, 34.9%)
CIE-LABlab(31.92, 56.27, -56.58)
CIE-LCHlch(31.92, 79.79, 314.84°)
OKLaboklab(43.88% 0.1166 -0.1612)
OKLCHoklch(43.88% 0.199 305.9)
XYZxyz(13.8018, 7.0483, 36.7024)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FA6 #57A61F
analogous
#2A1FA6 #6E1FA6 #A61F9A
triadic
#6E1FA6 #A66E1F #1FA66E
tetradic
#6E1FA6 #A62A1F #57A61F #1F9AA6
square
#6E1FA6 #A62A1F #57A61F #1F9AA6
split-complementary
#6E1FA6 #9AA61F #1FA62A
monochromatic
#2A0C3F #4C1572 #6E1FA6 #902BD7 #AB5EE1

Accessibility & contrast

On white

8.72
#6E1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6E1FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1FA6
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FA6#FFFFFF#000000##FFFFFF
##6E1FA61.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#644363
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e1fa6;
/* rgb */ color: rgb(110, 31, 166);
/* oklch */ color: oklch(43.9% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#9d65c1',
    500: '#6e1fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fa6;
$custom-light: #9d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fa6",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 275.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.19889,
    "h": 305.9
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#6E1FA6
secondary
#87C55B
accent
#EB3C85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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