#6E2BAE#6E2BAE

#6E2BAE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.195 H 302.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6E2BAE
RGBrgb(110, 43, 174)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 68%)
CMYKcmyk(36.8%, 75.3%, 0%, 31.8%)
CIE-LABlab(34.19, 53.47, -57.67)
CIE-LCHlch(34.19, 78.65, 312.83°)
OKLaboklab(45.67% 0.1044 -0.1645)
OKLCHoklch(45.67% 0.195 302.4)
XYZxyz(14.9324, 8.0987, 40.8127)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2BAE #6BAE2B
analogous
#2C2BAE #6E2BAE #AE2BAD
triadic
#6E2BAE #AE6E2B #2BAE6E
tetradic
#6E2BAE #AE2C2B #6BAE2B #2BADAE
square
#6E2BAE #AE2C2B #6BAE2B #2BADAE
split-complementary
#6E2BAE #ADAE2B #2BAE2C
monochromatic
#30134C #4F1F7D #6E2BAE #8D45D1 #AB76DD

Accessibility & contrast

On white

8.02
#6E2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6E2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2BAE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2BAE#FFFFFF#000000##FFFFFF
##6E2BAE1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#604C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2bae;
/* rgb */ color: rgb(110, 43, 174);
/* oklch */ color: oklch(45.7% 0.195 302.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bc7',
    500: '#6e2bae',
    950: '#000000',
  },
}
SCSS
$custom: #6e2bae;
$custom-light: #9d6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2bae",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 270.687,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.19483,
    "h": 302.4
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#6E2BAE
secondary
#99C570
accent
#E44492
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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