#6E2EAA#6E2EAA

#6E2EAA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.187 H 303.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6E2EAA
RGBrgb(110, 46, 170)
HSLhsl(271, 57%, 42%)
HSVhsv(271, 73%, 67%)
CMYKcmyk(35.3%, 72.9%, 0%, 33.3%)
CIE-LABlab(34.34, 51.18, -55.04)
CIE-LCHlch(34.34, 75.16, 312.92°)
OKLaboklab(45.68% 0.1024 -0.1567)
OKLCHoklch(45.68% 0.187 303.2)
XYZxyz(14.6614, 8.1713, 38.8272)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EAA #6AAA2E
analogous
#302EAA #6E2EAA #AA2EA8
triadic
#6E2EAA #AA6E2E #2EAA6E
tetradic
#6E2EAA #AA302E #6AAA2E #2EA8AA
square
#6E2EAA #AA302E #6AAA2E #2EA8AA
split-complementary
#6E2EAA #A8AA2E #2EAA30
monochromatic
#30144A #4F217A #6E2EAA #8D48CD #AB78DA

Accessibility & contrast

On white

7.97
#6E2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EAA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EAA#FFFFFF#000000##FFFFFF
##6E2EAA1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#624C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e2eaa;
/* rgb */ color: rgb(110, 46, 170);
/* oklch */ color: oklch(45.7% 0.187 303.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dc4',
    500: '#6e2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eaa;
$custom-light: #9d6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eaa",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 270.968,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.18724,
    "h": 303.2
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#6E2EAA
secondary
#99C371
accent
#E14791
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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