#6E2DB5#6E2DB5

#6E2DB5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.200 H 300.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6E2DB5
RGBrgb(110, 45, 181)
HSLhsl(269, 60%, 44%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(39.2%, 75.1%, 0%, 29%)
CIE-LABlab(35.06, 54.30, -60.42)
CIE-LCHlch(35.06, 81.23, 311.95°)
OKLaboklab(46.46% 0.101 -0.1725)
OKLCHoklch(46.46% 0.2 300.3)
XYZxyz(15.7072, 8.5278, 44.5256)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2DB5 #74B52D
analogous
#2D30B5 #6E2DB5 #B22DB5
triadic
#6E2DB5 #B56E2D #2DB56E
tetradic
#6E2DB5 #B52D30 #74B52D #2DB5B2
square
#6E2DB5 #B52D30 #74B52D #2DB5B2
split-complementary
#6E2DB5 #B5B22D #30B52D
monochromatic
#321553 #502184 #6E2DB5 #8D4DD3 #AC7EDF

Accessibility & contrast

On white

7.76
#6E2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2DB5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2DB5#FFFFFF#000000##FFFFFF
##6E2DB51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2db5;
/* rgb */ color: rgb(110, 45, 181);
/* oklch */ color: oklch(46.5% 0.200 300.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dcc',
    500: '#6e2db5',
    950: '#000000',
  },
}
SCSS
$custom: #6e2db5;
$custom-light: #9e6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2db5",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 268.676,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.19994,
    "h": 300.3
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#6E2DB5
secondary
#A1C776
accent
#E34497
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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