#6D2EAC#6D2EAC

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

Color values

HEX#6D2EAC
RGBrgb(109, 46, 172)
HSLhsl(270, 58%, 43%)
HSVhsv(270, 73%, 67%)
CMYKcmyk(36.6%, 73.3%, 0%, 32.5%)
CIE-LABlab(34.36, 51.48, -56.20)
CIE-LCHlch(34.36, 76.21, 312.49°)
OKLaboklab(45.72% 0.1006 -0.1602)
OKLCHoklch(45.72% 0.189 302.1)
XYZxyz(14.7283, 8.1837, 39.8254)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EAC #6DAC2E
analogous
#2E2EAC #6D2EAC #AC2EAC
triadic
#6D2EAC #AC6D2E #2EAC6D
tetradic
#6D2EAC #AC2E2E #6DAC2E #2EACAC
square
#6D2EAC #AC2E2E #6DAC2E #2EACAC
split-complementary
#6D2EAC #ACAC2E #2EAC2E
monochromatic
#30144B #4E217C #6D2EAC #8C49CE #AA79DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2EAC#FFFFFF#000000##FFFFFF
##6D2EAC1.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)
#0050B0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#604D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2eac;
/* rgb */ color: rgb(109, 46, 172);
/* oklch */ color: oklch(45.7% 0.189 302.1);
Tailwind
colors: {
  custom: {
    50: '#9c6dc6',
    500: '#6d2eac',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eac;
$custom-light: #9c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eac",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 270,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.18917,
    "h": 302.1
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#6D2EAC
secondary
#9BC372
accent
#E14794
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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