#6E2DB6#6E2DB6

#6E2DB6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.201 H 300.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB6
RGBrgb(110, 45, 182)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(39.6%, 75.3%, 0%, 28.6%)
CIE-LABlab(35.14, 54.55, -60.88)
CIE-LCHlch(35.14, 81.74, 311.86°)
OKLaboklab(46.54% 0.1008 -0.1739)
OKLCHoklch(46.54% 0.201 300.1)
XYZxyz(15.8102, 8.5690, 45.0679)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB6 #75B62D
analogous
#2D31B6 #6E2DB6 #B22DB6
triadic
#6E2DB6 #B66E2D #2DB66E
tetradic
#6E2DB6 #B62D31 #75B62D #2DB6B2
square
#6E2DB6 #B62D31 #75B62D #2DB6B2
split-complementary
#6E2DB6 #B6B22D #31B62D
monochromatic
#331554 #502185 #6E2DB6 #8D4DD3 #AC7EDF

Accessibility & contrast

On white

7.74
#6E2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6E2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB6#FFFFFF#000000##FFFFFF
##6E2DB61.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2db6;
/* rgb */ color: rgb(110, 45, 182);
/* oklch */ color: oklch(46.5% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dcd',
    500: '#6e2db6',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db6;
$custom-light: #9e6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db6",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 268.467,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46545,
    "c": 0.20099,
    "h": 300.1
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#6E2DB6
secondary
#A1C877
accent
#E34498
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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