#6D2DAE#6D2DAE

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

Color values

HEX#6D2DAE
RGBrgb(109, 45, 174)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 74%, 68%)
CMYKcmyk(37.4%, 74.1%, 0%, 31.8%)
CIE-LABlab(34.36, 52.42, -57.39)
CIE-LCHlch(34.36, 77.73, 312.41°)
OKLaboklab(45.77% 0.1011 -0.1637)
OKLCHoklch(45.77% 0.192 301.7)
XYZxyz(14.8832, 8.1839, 40.8317)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DAE #6EAE2D
analogous
#2D2EAE #6D2DAE #AD2DAE
triadic
#6D2DAE #AE6D2D #2DAE6D
tetradic
#6D2DAE #AE2D2E #6EAE2D #2DAEAD
square
#6D2DAE #AE2D2E #6EAE2D #2DAEAD
split-complementary
#6D2DAE #AEAD2D #2EAE2D
monochromatic
#30144D #4F207D #6D2DAE #8C48D0 #AA79DC

Accessibility & contrast

On white

7.96
#6D2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2DAE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DAE#FFFFFF#000000##FFFFFF
##6D2DAE1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2dae;
/* rgb */ color: rgb(109, 45, 174);
/* oklch */ color: oklch(45.8% 0.192 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d6cc7',
    500: '#6d2dae',
    950: '#000000',
  },
}
SCSS
$custom: #6d2dae;
$custom-light: #9d6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2dae",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 269.767,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.19242,
    "h": 301.7
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#6D2DAE
secondary
#9CC472
accent
#E24695
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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