#6E2FAD#6E2FAD

#6E2FAD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.189 H 302.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6E2FAD
RGBrgb(110, 47, 173)
HSLhsl(270, 57%, 43%)
HSVhsv(270, 73%, 68%)
CMYKcmyk(36.4%, 72.8%, 0%, 32.2%)
CIE-LABlab(34.73, 51.46, -56.19)
CIE-LCHlch(34.73, 76.19, 312.48°)
OKLaboklab(46.03% 0.1009 -0.1601)
OKLCHoklch(46.03% 0.189 302.2)
XYZxyz(14.9879, 8.3651, 40.3521)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FAD #6EAD2F
analogous
#2F2FAD #6E2FAD #AD2FAD
triadic
#6E2FAD #AD6E2F #2FAD6E
tetradic
#6E2FAD #AD2F2F #6EAD2F #2FADAD
square
#6E2FAD #AD2F2F #6EAD2F #2FADAD
split-complementary
#6E2FAD #ADAD2F #2FAD2F
monochromatic
#31154D #4F227D #6E2FAD #8D4BCE #AB7BDB

Accessibility & contrast

On white

7.86
#6E2FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6E2FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FAD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FAD#FFFFFF#000000##FFFFFF
##6E2FAD1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#614E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2fad;
/* rgb */ color: rgb(110, 47, 173);
/* oklch */ color: oklch(46.0% 0.189 302.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dc6',
    500: '#6e2fad',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fad;
$custom-light: #9d6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fad",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 270,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.18926,
    "h": 302.2
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#6E2FAD
secondary
#9CC474
accent
#E14794
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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