#6E1FA4#6E1FA4

#6E1FA4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.197 H 306.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6E1FA4
RGBrgb(110, 31, 164)
HSLhsl(276, 68%, 38%)
HSVhsv(276, 81%, 64%)
CMYKcmyk(32.9%, 81.1%, 0%, 35.7%)
CIE-LABlab(31.75, 55.82, -55.64)
CIE-LCHlch(31.75, 78.82, 315.10°)
OKLaboklab(43.71% 0.1171 -0.1584)
OKLCHoklch(43.71% 0.197 306.5)
XYZxyz(13.6198, 6.9754, 35.7437)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FA4 #55A41F
analogous
#2B1FA4 #6E1FA4 #A41F97
triadic
#6E1FA4 #A46E1F #1FA46E
tetradic
#6E1FA4 #A42B1F #55A41F #1F97A4
square
#6E1FA4 #A42B1F #55A41F #1F97A4
split-complementary
#6E1FA4 #97A41F #1FA42B
monochromatic
#290C3D #4B1571 #6E1FA4 #902AD7 #AB5DE0

Accessibility & contrast

On white

8.77
#6E1FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6E1FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1FA4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FA4#FFFFFF#000000##FFFFFF
##6E1FA41.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#644362
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e1fa4;
/* rgb */ color: rgb(110, 31, 164);
/* oklch */ color: oklch(43.7% 0.197 306.5);
Tailwind
colors: {
  custom: {
    50: '#9d65c0',
    500: '#6e1fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fa4;
$custom-light: #9d65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fa4",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 275.639,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43711,
    "c": 0.19699,
    "h": 306.5
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#6E1FA4
secondary
#85C55A
accent
#EB3D84
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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