#6E2AB5#6E2AB5

#6E2AB5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.203 H 300.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6E2AB5
RGBrgb(110, 42, 181)
HSLhsl(269, 62%, 44%)
HSVhsv(269, 77%, 71%)
CMYKcmyk(39.2%, 76.8%, 0%, 29%)
CIE-LABlab(34.61, 55.57, -61.14)
CIE-LCHlch(34.61, 82.63, 312.27°)
OKLaboklab(46.15% 0.1036 -0.1747)
OKLCHoklch(46.15% 0.203 300.7)
XYZxyz(15.5968, 8.3070, 44.4888)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AB5 #71B52A
analogous
#2A2BB5 #6E2AB5 #B32AB5
triadic
#6E2AB5 #B56E2A #2AB56E
tetradic
#6E2AB5 #B52A2B #71B52A #2AB5B3
square
#6E2AB5 #B52A2B #71B52A #2AB5B3
split-complementary
#6E2AB5 #B5B32A #2BB52A
monochromatic
#321352 #501E83 #6E2AB5 #8D48D4 #AC79E0

Accessibility & contrast

On white

7.89
#6E2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6E2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AB5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AB5#FFFFFF#000000##FFFFFF
##6E2AB51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#5E4F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2ab5;
/* rgb */ color: rgb(110, 42, 181);
/* oklch */ color: oklch(46.2% 0.203 300.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bcc',
    500: '#6e2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ab5;
$custom-light: #9e6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ab5",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 269.353,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.20309,
    "h": 300.7
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#6E2AB5
secondary
#9EC873
accent
#E54296
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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