#6E2AB2#6E2AB2

#6E2AB2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.200 H 301.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6E2AB2
RGBrgb(110, 42, 178)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 76%, 70%)
CMYKcmyk(38.2%, 76.4%, 0%, 30.2%)
CIE-LABlab(34.37, 54.85, -59.77)
CIE-LCHlch(34.37, 81.12, 312.54°)
OKLaboklab(45.9% 0.1044 -0.1706)
OKLCHoklch(45.9% 0.2 301.5)
XYZxyz(15.2923, 8.1852, 42.8851)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AB2 #6EB22A
analogous
#2A2AB2 #6E2AB2 #B22AB2
triadic
#6E2AB2 #B26E2A #2AB26E
tetradic
#6E2AB2 #B22A2A #6EB22A #2AB2B2
square
#6E2AB2 #B22A2A #6EB22A #2AB2B2
split-complementary
#6E2AB2 #B2B22A #2AB22A
monochromatic
#31134F #4F1E80 #6E2AB2 #8D46D3 #AB77DF

Accessibility & contrast

On white

7.96
#6E2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AB2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AB2#FFFFFF#000000##FFFFFF
##6E2AB21.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5F4D6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2ab2;
/* rgb */ color: rgb(110, 42, 178);
/* oklch */ color: oklch(45.9% 0.200 301.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bca',
    500: '#6e2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ab2;
$custom-light: #9e6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ab2",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.20002,
    "h": 301.5
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#6E2AB2
secondary
#9CC771
accent
#E54394
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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