#6E2DB4#6E2DB4

#6E2DB4 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.199 H 300.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB4
RGBrgb(110, 45, 180)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(38.9%, 75%, 0%, 29.4%)
CIE-LABlab(34.98, 54.06, -59.96)
CIE-LCHlch(34.98, 80.73, 312.04°)
OKLaboklab(46.38% 0.1013 -0.1712)
OKLCHoklch(46.38% 0.199 300.6)
XYZxyz(15.6050, 8.4869, 43.9872)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB4 #73B42D
analogous
#2D30B4 #6E2DB4 #B22DB4
triadic
#6E2DB4 #B46E2D #2DB46E
tetradic
#6E2DB4 #B42D30 #73B42D #2DB4B2
square
#6E2DB4 #B42D30 #73B42D #2DB4B2
split-complementary
#6E2DB4 #B4B22D #30B42D
monochromatic
#321552 #502183 #6E2DB4 #8D4CD2 #AC7DDE

Accessibility & contrast

On white

7.79
#6E2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6E2DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB4#FFFFFF#000000##FFFFFF
##6E2DB41.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#5E506F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2db4;
/* rgb */ color: rgb(110, 45, 180);
/* oklch */ color: oklch(46.4% 0.199 300.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dcb',
    500: '#6e2db4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db4;
$custom-light: #9e6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db4",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 268.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46379,
    "c": 0.1989,
    "h": 300.6
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#6E2DB4
secondary
#A0C776
accent
#E34597
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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