#6E2EB5#6E2EB5

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

Color values

HEX#6E2EB5
RGBrgb(110, 46, 181)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(39.2%, 74.6%, 0%, 29%)
CIE-LABlab(35.21, 53.86, -60.17)
CIE-LCHlch(35.21, 80.76, 311.84°)
OKLaboklab(46.57% 0.1001 -0.1718)
OKLCHoklch(46.57% 0.199 300.2)
XYZxyz(15.7458, 8.6050, 44.5385)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EB5 #75B52E
analogous
#2E32B5 #6E2EB5 #B12EB5
triadic
#6E2EB5 #B56E2E #2EB56E
tetradic
#6E2EB5 #B52E32 #75B52E #2EB5B1
square
#6E2EB5 #B52E32 #75B52E #2EB5B1
split-complementary
#6E2EB5 #B5B12E #32B52E
monochromatic
#331553 #502284 #6E2EB5 #8D4ED2 #AC7FDE

Accessibility & contrast

On white

7.72
#6E2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6E2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EB5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EB5#FFFFFF#000000##FFFFFF
##6E2EB51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#5E516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2eb5;
/* rgb */ color: rgb(110, 46, 181);
/* oklch */ color: oklch(46.6% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#9e6dcc',
    500: '#6e2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eb5;
$custom-light: #9e6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eb5",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 268.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4657,
    "c": 0.19886,
    "h": 300.2
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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