#6E2DB7#6E2DB7

#6E2DB7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.202 H 299.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB7
RGBrgb(110, 45, 183)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 75%, 72%)
CMYKcmyk(39.9%, 75.4%, 0%, 28.2%)
CIE-LABlab(35.22, 54.79, -61.33)
CIE-LCHlch(35.22, 82.24, 311.78°)
OKLaboklab(46.63% 0.1005 -0.1752)
OKLCHoklch(46.63% 0.202 299.8)
XYZxyz(15.9139, 8.6105, 45.6141)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB7 #76B72D
analogous
#2D31B7 #6E2DB7 #B32DB7
triadic
#6E2DB7 #B76E2D #2DB76E
tetradic
#6E2DB7 #B72D31 #76B72D #2DB7B3
square
#6E2DB7 #B72D31 #76B72D #2DB7B3
split-complementary
#6E2DB7 #B7B32D #31B72D
monochromatic
#331555 #502186 #6E2DB7 #8D4ED3 #AC7FDF

Accessibility & contrast

On white

7.71
#6E2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2DB7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB7#FFFFFF#000000##FFFFFF
##6E2DB71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2db7;
/* rgb */ color: rgb(110, 45, 183);
/* oklch */ color: oklch(46.6% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6e2db7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db7;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db7",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 268.261,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.20203,
    "h": 299.8
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#6E2DB7
secondary
#A2C878
accent
#E44499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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