#6E2FB4#6E2FB4

#6E2FB4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.197 H 300.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6E2FB4
RGBrgb(110, 47, 180)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(38.9%, 73.9%, 0%, 29.4%)
CIE-LABlab(35.29, 53.17, -59.45)
CIE-LCHlch(35.29, 79.76, 311.81°)
OKLaboklab(46.6% 0.0994 -0.1697)
OKLCHoklch(46.6% 0.197 300.4)
XYZxyz(15.6831, 8.6432, 44.0132)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FB4 #75B42F
analogous
#2F33B4 #6E2FB4 #B12FB4
triadic
#6E2FB4 #B46E2F #2FB46E
tetradic
#6E2FB4 #B42F33 #75B42F #2FB4B1
square
#6E2FB4 #B42F33 #75B42F #2FB4B1
split-complementary
#6E2FB4 #B4B12F #33B42F
monochromatic
#331653 #502283 #6E2FB4 #8D4FD1 #AC80DE

Accessibility & contrast

On white

7.70
#6E2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6E2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FB4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FB4#FFFFFF#000000##FFFFFF
##6E2FB41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#5E516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2fb4;
/* rgb */ color: rgb(110, 47, 180);
/* oklch */ color: oklch(46.6% 0.197 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e6ecb',
    500: '#6e2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fb4;
$custom-light: #9e6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fb4",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 268.421,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.19669,
    "h": 300.4
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#6E2FB4
secondary
#A1C778
accent
#E24698
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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