#6E1FA5#6E1FA5

#6E1FA5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.198 H 306.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6E1FA5
RGBrgb(110, 31, 165)
HSLhsl(275, 68%, 38%)
HSVhsv(275, 81%, 65%)
CMYKcmyk(33.3%, 81.2%, 0%, 35.3%)
CIE-LABlab(31.83, 56.05, -56.11)
CIE-LCHlch(31.83, 79.30, 314.97°)
OKLaboklab(43.8% 0.1168 -0.1598)
OKLCHoklch(43.8% 0.198 306.2)
XYZxyz(13.7104, 7.0117, 36.2211)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FA5 #56A51F
analogous
#2B1FA5 #6E1FA5 #A51F99
triadic
#6E1FA5 #A56E1F #1FA56E
tetradic
#6E1FA5 #A52B1F #56A51F #1F99A5
square
#6E1FA5 #A52B1F #56A51F #1F99A5
split-complementary
#6E1FA5 #99A51F #1FA52B
monochromatic
#290C3E #4C1571 #6E1FA5 #902AD7 #AB5EE1

Accessibility & contrast

On white

8.74
#6E1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1FA5
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FA5#FFFFFF#000000##FFFFFF
##6E1FA51.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1fa5;
/* rgb */ color: rgb(110, 31, 165);
/* oklch */ color: oklch(43.8% 0.198 306.2);
Tailwind
colors: {
  custom: {
    50: '#9d65c1',
    500: '#6e1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fa5;
$custom-light: #9d65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fa5",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 275.373,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43795,
    "c": 0.19794,
    "h": 306.2
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#6E1FA5
secondary
#86C55B
accent
#EB3D84
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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