#6E2AB6#6E2AB6

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

Color values

HEX#6E2AB6
RGBrgb(110, 42, 182)
HSLhsl(269, 63%, 44%)
HSVhsv(269, 77%, 71%)
CMYKcmyk(39.6%, 76.9%, 0%, 28.6%)
CIE-LABlab(34.70, 55.81, -61.60)
CIE-LCHlch(34.70, 83.13, 312.18°)
OKLaboklab(46.23% 0.1034 -0.176)
OKLCHoklch(46.23% 0.204 300.4)
XYZxyz(15.6998, 8.3482, 45.0311)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AB6 #72B62A
analogous
#2A2CB6 #6E2AB6 #B42AB6
triadic
#6E2AB6 #B66E2A #2AB66E
tetradic
#6E2AB6 #B62A2C #72B62A #2AB6B4
square
#6E2AB6 #B62A2C #72B62A #2AB6B4
split-complementary
#6E2AB6 #B6B42A #2CB62A
monochromatic
#321353 #501F84 #6E2AB6 #8D48D5 #AC7AE0

Accessibility & contrast

On white

7.87
#6E2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2AB6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AB6#FFFFFF#000000##FFFFFF
##6E2AB61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#5D4F6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2ab6;
/* rgb */ color: rgb(110, 42, 182);
/* oklch */ color: oklch(46.2% 0.204 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e6bcd',
    500: '#6e2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ab6;
$custom-light: #9e6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ab6",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 269.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.20411,
    "h": 300.4
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#6E2AB6
secondary
#9FC873
accent
#E64296
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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