#6E2FB7#6E2FB7

#6E2FB7 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.200 H 299.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6E2FB7
RGBrgb(110, 47, 183)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.9%, 74.3%, 0%, 28.2%)
CIE-LABlab(35.53, 53.91, -60.83)
CIE-LCHlch(35.53, 81.28, 311.55°)
OKLaboklab(46.85% 0.0988 -0.1738)
OKLCHoklch(46.85% 0.2 299.6)
XYZxyz(15.9920, 8.7667, 45.6402)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2FB7 #78B72F
analogous
#2F34B7 #6E2FB7 #B22FB7
triadic
#6E2FB7 #B76E2F #2FB76E
tetradic
#6E2FB7 #B72F34 #78B72F #2FB7B2
square
#6E2FB7 #B72F34 #78B72F #2FB7B2
split-complementary
#6E2FB7 #B7B22F #34B72F
monochromatic
#331656 #512286 #6E2FB7 #8D51D2 #AD82DF

Accessibility & contrast

On white

7.63
#6E2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6E2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2FB7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2FB7#FFFFFF#000000##FFFFFF
##6E2FB71.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5D5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e2fb7;
/* rgb */ color: rgb(110, 47, 183);
/* oklch */ color: oklch(46.8% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#9e6ece',
    500: '#6e2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2fb7;
$custom-light: #9e6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2fb7",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 267.794,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.19988,
    "h": 299.6
  },
  "luminance": 0.08767
}

Semantic roles & 50–950 ramp

primary
#6E2FB7
secondary
#A4C87A
accent
#E2459A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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