#6E2DB2#6E2DB2

#6E2DB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.197 H 301.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB2
RGBrgb(110, 45, 178)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 70%)
CMYKcmyk(38.2%, 74.7%, 0%, 30.2%)
CIE-LABlab(34.81, 53.57, -59.03)
CIE-LCHlch(34.81, 79.72, 312.22°)
OKLaboklab(46.21% 0.1017 -0.1685)
OKLCHoklch(46.21% 0.197 301.1)
XYZxyz(15.4027, 8.4060, 42.9219)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB2 #71B22D
analogous
#2D2FB2 #6E2DB2 #B02DB2
triadic
#6E2DB2 #B26E2D #2DB26E
tetradic
#6E2DB2 #B22D2F #71B22D #2DB2B0
square
#6E2DB2 #B22D2F #71B22D #2DB2B0
split-complementary
#6E2DB2 #B2B02D #2FB22D
monochromatic
#321450 #502181 #6E2DB2 #8D4BD1 #AC7CDE

Accessibility & contrast

On white

7.83
#6E2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6E2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB2#FFFFFF#000000##FFFFFF
##6E2DB21.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5F4F6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2db2;
/* rgb */ color: rgb(110, 45, 178);
/* oklch */ color: oklch(46.2% 0.197 301.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cca',
    500: '#6e2db2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db2;
$custom-light: #9e6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db2",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 269.323,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46214,
    "c": 0.1968,
    "h": 301.1
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#6E2DB2
secondary
#9EC675
accent
#E34596
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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