#6E2FB6#6E2FB6

#6E2FB6 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.199 H 299.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6E2FB6
RGBrgb(110, 47, 182)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(39.6%, 74.2%, 0%, 28.6%)
CIE-LABlab(35.45, 53.67, -60.37)
CIE-LCHlch(35.45, 80.78, 311.63°)
OKLaboklab(46.76% 0.099 -0.1724)
OKLCHoklch(46.76% 0.199 299.9)
XYZxyz(15.8883, 8.7253, 45.0940)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FB6 #77B62F
analogous
#2F34B6 #6E2FB6 #B22FB6
triadic
#6E2FB6 #B66E2F #2FB66E
tetradic
#6E2FB6 #B62F34 #77B62F #2FB6B2
square
#6E2FB6 #B62F34 #77B62F #2FB6B2
split-complementary
#6E2FB6 #B6B22F #34B62F
monochromatic
#331655 #512285 #6E2FB6 #8D50D2 #AD81DE

Accessibility & contrast

On white

7.65
#6E2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6E2FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FB6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FB6#FFFFFF#000000##FFFFFF
##6E2FB61.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#5D5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2fb6;
/* rgb */ color: rgb(110, 47, 182);
/* oklch */ color: oklch(46.8% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#9e6ecd',
    500: '#6e2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fb6;
$custom-light: #9e6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fb6",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 268,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46763,
    "c": 0.19881,
    "h": 299.9
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#6E2FB6
secondary
#A3C779
accent
#E24699
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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