#6E2EAC#6E2EAC

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

Color values

HEX#6E2EAC
RGBrgb(110, 46, 172)
HSLhsl(270, 58%, 43%)
HSVhsv(270, 73%, 67%)
CMYKcmyk(36%, 73.3%, 0%, 32.5%)
CIE-LABlab(34.49, 51.67, -55.98)
CIE-LCHlch(34.49, 76.18, 312.71°)
OKLaboklab(45.84% 0.102 -0.1595)
OKLCHoklch(45.84% 0.189 302.6)
XYZxyz(14.8520, 8.2475, 39.8312)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EAC #6CAC2E
analogous
#2F2EAC #6E2EAC #AC2EAB
triadic
#6E2EAC #AC6E2E #2EAC6E
tetradic
#6E2EAC #AC2F2E #6CAC2E #2EABAC
square
#6E2EAC #AC2F2E #6CAC2E #2EABAC
split-complementary
#6E2EAC #ABAC2E #2EAC2F
monochromatic
#30144B #4F217C #6E2EAC #8D49CE #AB79DB

Accessibility & contrast

On white

7.93
#6E2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6E2EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EAC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EAC#FFFFFF#000000##FFFFFF
##6E2EAC1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#614D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2eac;
/* rgb */ color: rgb(110, 46, 172);
/* oklch */ color: oklch(45.8% 0.189 302.6);
Tailwind
colors: {
  custom: {
    50: '#9d6dc6',
    500: '#6e2eac',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eac;
$custom-light: #9d6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eac",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 270.476,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.18936,
    "h": 302.6
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#6E2EAC
secondary
#9AC372
accent
#E14793
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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