#6D2EAE#6D2EAE

#6D2EAE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.191 H 301.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6D2EAE
RGBrgb(109, 46, 174)
HSLhsl(270, 58%, 43%)
HSVhsv(270, 74%, 68%)
CMYKcmyk(37.4%, 73.6%, 0%, 31.8%)
CIE-LABlab(34.52, 51.97, -57.14)
CIE-LCHlch(34.52, 77.24, 312.29°)
OKLaboklab(45.88% 0.1002 -0.163)
OKLCHoklch(45.88% 0.191 301.6)
XYZxyz(14.9218, 8.2611, 40.8446)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EAE #6FAE2E
analogous
#2E2FAE #6D2EAE #AD2EAE
triadic
#6D2EAE #AE6D2E #2EAE6D
tetradic
#6D2EAE #AE2E2F #6FAE2E #2EAEAD
square
#6D2EAE #AE2E2F #6FAE2E #2EAEAD
split-complementary
#6D2EAE #AEAD2E #2FAE2E
monochromatic
#30144D #4F217E #6D2EAE #8C4ACF #AA7ADC

Accessibility & contrast

On white

7.92
#6D2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2EAE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EAE#FFFFFF#000000##FFFFFF
##6D2EAE1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#5F4E6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2eae;
/* rgb */ color: rgb(109, 46, 174);
/* oklch */ color: oklch(45.9% 0.191 301.6);
Tailwind
colors: {
  custom: {
    50: '#9d6dc7',
    500: '#6d2eae',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eae;
$custom-light: #9d6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eae",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 269.531,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.19129,
    "h": 301.6
  },
  "luminance": 0.08261
}

Semantic roles & 50–950 ramp

primary
#6D2EAE
secondary
#9DC474
accent
#E14695
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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