#6E1FA8#6E1FA8

#6E1FA8 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.201 H 305.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6E1FA8
RGBrgb(110, 31, 168)
HSLhsl(275, 69%, 39%)
HSVhsv(275, 82%, 66%)
CMYKcmyk(34.5%, 81.5%, 0%, 34.1%)
CIE-LABlab(32.08, 56.72, -57.51)
CIE-LCHlch(32.08, 80.77, 314.60°)
OKLaboklab(44.05% 0.116 -0.1639)
OKLCHoklch(44.05% 0.201 305.3)
XYZxyz(13.9867, 7.1222, 37.6761)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1FA8 #59A81F
analogous
#2A1FA8 #6E1FA8 #A81F9E
triadic
#6E1FA8 #A86E1F #1FA86E
tetradic
#6E1FA8 #A82A1F #59A81F #1F9EA8
square
#6E1FA8 #A82A1F #59A81F #1F9EA8
split-complementary
#6E1FA8 #9EA81F #1FA82A
monochromatic
#2A0C41 #4C1574 #6E1FA8 #8F2CD8 #AB60E2

Accessibility & contrast

On white

8.66
#6E1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1FA8
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1FA8#FFFFFF#000000##FFFFFF
##6E1FA81.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#634465
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e1fa8;
/* rgb */ color: rgb(110, 31, 168);
/* oklch */ color: oklch(44.0% 0.201 305.3);
Tailwind
colors: {
  custom: {
    50: '#9d65c3',
    500: '#6e1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6e1fa8;
$custom-light: #9d65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1fa8",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 274.599,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.20078,
    "h": 305.3
  },
  "luminance": 0.07122
}

Semantic roles & 50–950 ramp

primary
#6E1FA8
secondary
#89C65D
accent
#EC3C86
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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