#6E2EAB#6E2EAB

#6E2EAB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.188 H 302.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6E2EAB
RGBrgb(110, 46, 171)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 73%, 67%)
CMYKcmyk(35.7%, 73.1%, 0%, 32.9%)
CIE-LABlab(34.41, 51.43, -55.51)
CIE-LCHlch(34.41, 75.67, 312.81°)
OKLaboklab(45.76% 0.1022 -0.1581)
OKLCHoklch(45.76% 0.188 302.9)
XYZxyz(14.7564, 8.2092, 39.3273)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EAB #6BAB2E
analogous
#2F2EAB #6E2EAB #AB2EAA
triadic
#6E2EAB #AB6E2E #2EAB6E
tetradic
#6E2EAB #AB2F2E #6BAB2E #2EAAAB
square
#6E2EAB #AB2F2E #6BAB2E #2EAAAB
split-complementary
#6E2EAB #AAAB2E #2EAB2F
monochromatic
#30144B #4F217B #6E2EAB #8D48CE #AB79DB

Accessibility & contrast

On white

7.95
#6E2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2EAB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EAB#FFFFFF#000000##FFFFFF
##6E2EAB1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#624D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2eab;
/* rgb */ color: rgb(110, 46, 171);
/* oklch */ color: oklch(45.8% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#9d6dc5',
    500: '#6e2eab',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eab;
$custom-light: #9d6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eab",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 270.72,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.18831,
    "h": 302.9
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#6E2EAB
secondary
#99C372
accent
#E14792
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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