#6E1FA0#6E1FA0

#6E1FA0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.4% C 0.193 H 307.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6E1FA0
RGBrgb(110, 31, 160)
HSLhsl(277, 68%, 37%)
HSVhsv(277, 81%, 63%)
CMYKcmyk(31.2%, 80.6%, 0%, 37.3%)
CIE-LABlab(31.42, 54.93, -53.75)
CIE-LCHlch(31.42, 76.86, 315.62°)
OKLaboklab(43.38% 0.1182 -0.1529)
OKLCHoklch(43.38% 0.193 307.7)
XYZxyz(13.2642, 6.8332, 33.8711)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FA0 #51A01F
analogous
#2D1FA0 #6E1FA0 #A01F92
triadic
#6E1FA0 #A06E1F #1FA06E
tetradic
#6E1FA0 #A02D1F #51A01F #1F92A0
square
#6E1FA0 #A02D1F #51A01F #1F92A0
split-complementary
#6E1FA0 #92A01F #1FA02D
monochromatic
#280B39 #4B156D #6E1FA0 #9129D3 #AC5ADF

Accessibility & contrast

On white

8.87
#6E1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6E1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1FA0
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FA0#FFFFFF#000000##FFFFFF
##6E1FA01.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#664160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e1fa0;
/* rgb */ color: rgb(110, 31, 160);
/* oklch */ color: oklch(43.4% 0.193 307.7);
Tailwind
colors: {
  custom: {
    50: '#9d65bd',
    500: '#6e1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fa0;
$custom-light: #9d65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fa0",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 276.744,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.1932,
    "h": 307.7
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#6E1FA0
secondary
#81C358
accent
#EA3D80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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