#6E2FA1#6E2FA1

#6E2FA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.176 H 305.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6E2FA1
RGBrgb(110, 47, 161)
HSLhsl(273, 55%, 41%)
HSVhsv(273, 71%, 63%)
CMYKcmyk(31.7%, 70.8%, 0%, 36.9%)
CIE-LABlab(33.82, 48.56, -50.47)
CIE-LCHlch(33.82, 70.03, 313.90°)
OKLaboklab(45.1% 0.1029 -0.1433)
OKLCHoklch(45.1% 0.176 305.7)
XYZxyz(13.8785, 7.9213, 34.5091)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FA1 #62A12F
analogous
#352FA1 #6E2FA1 #A12F9B
triadic
#6E2FA1 #A16E2F #2FA16E
tetradic
#6E2FA1 #A1352F #62A12F #2F9BA1
square
#6E2FA1 #A1352F #62A12F #2F9BA1
split-complementary
#6E2FA1 #9BA12F #2FA135
monochromatic
#2D1342 #4E2172 #6E2FA1 #8E45C9 #AA74D6

Accessibility & contrast

On white

8.13
#6E2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6E2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FA1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FA1#FFFFFF#000000##FFFFFF
##6E2FA11.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#654964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2fa1;
/* rgb */ color: rgb(110, 47, 161);
/* oklch */ color: oklch(45.1% 0.176 305.7);
Tailwind
colors: {
  custom: {
    50: '#9c6dbe',
    500: '#6e2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fa1;
$custom-light: #9c6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fa1",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 273.158,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.17645,
    "h": 305.7
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#6E2FA1
secondary
#92BE6E
accent
#DE4A8C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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