#6E2DB1#6E2DB1

#6E2DB1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.196 H 301.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB1
RGBrgb(110, 45, 177)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 75%, 69%)
CMYKcmyk(37.9%, 74.6%, 0%, 30.6%)
CIE-LABlab(34.73, 53.33, -58.57)
CIE-LCHlch(34.73, 79.21, 312.32°)
OKLaboklab(46.13% 0.1019 -0.1671)
OKLCHoklch(46.13% 0.196 301.4)
XYZxyz(15.3027, 8.3660, 42.3950)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB1 #70B12D
analogous
#2D2EB1 #6E2DB1 #B02DB1
triadic
#6E2DB1 #B16E2D #2DB16E
tetradic
#6E2DB1 #B12D2E #70B12D #2DB1B0
square
#6E2DB1 #B12D2E #70B12D #2DB1B0
split-complementary
#6E2DB1 #B1B02D #2EB12D
monochromatic
#31144F #502180 #6E2DB1 #8D4AD1 #AB7BDD

Accessibility & contrast

On white

7.86
#6E2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6E2DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2DB1
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB1#FFFFFF#000000##FFFFFF
##6E2DB11.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#5F4E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2db1;
/* rgb */ color: rgb(110, 45, 177);
/* oklch */ color: oklch(46.1% 0.196 301.4);
Tailwind
colors: {
  custom: {
    50: '#9e6cc9',
    500: '#6e2db1',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db1;
$custom-light: #9e6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db1",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 269.545,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.19576,
    "h": 301.4
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#6E2DB1
secondary
#9EC674
accent
#E34595
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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