#6E2AA7#6E2AA7

#6E2AA7 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.189 H 304.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA7
RGBrgb(110, 42, 167)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 65%)
CMYKcmyk(34.1%, 74.9%, 0%, 34.5%)
CIE-LABlab(33.48, 52.23, -54.63)
CIE-LCHlch(33.48, 75.58, 313.71°)
OKLaboklab(45% 0.1069 -0.1555)
OKLCHoklch(45% 0.189 304.5)
XYZxyz(14.2318, 7.7610, 37.3000)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA7 #63A72A
analogous
#2F2AA7 #6E2AA7 #A72AA1
triadic
#6E2AA7 #A76E2A #2AA76E
tetradic
#6E2AA7 #A72F2A #63A72A #2AA1A7
square
#6E2AA7 #A72F2A #63A72A #2AA1A7
split-complementary
#6E2AA7 #A1A72A #2AA72F
monochromatic
#2E1145 #4E1E76 #6E2AA7 #8D3FCF #AA70DB

Accessibility & contrast

On white

8.23
#6E2AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6E2AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AA7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA7#FFFFFF#000000##FFFFFF
##6E2AA71.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#634966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2aa7;
/* rgb */ color: rgb(110, 42, 167);
/* oklch */ color: oklch(45.0% 0.189 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d6ac2',
    500: '#6e2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa7;
$custom-light: #9d6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa7",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 272.64,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45,
    "c": 0.18872,
    "h": 304.5
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#6E2AA7
secondary
#93C26B
accent
#E3458D
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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