#6D2DAC#6D2DAC

#6D2DAC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.190 H 302.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6D2DAC
RGBrgb(109, 45, 172)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 74%, 67%)
CMYKcmyk(36.6%, 73.8%, 0%, 32.5%)
CIE-LABlab(34.20, 51.93, -56.46)
CIE-LCHlch(34.20, 76.71, 312.61°)
OKLaboklab(45.61% 0.1016 -0.1609)
OKLCHoklch(45.61% 0.19 302.3)
XYZxyz(14.6897, 8.1065, 39.8125)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2DAC #6CAC2D
analogous
#2D2DAC #6D2DAC #AC2DAC
triadic
#6D2DAC #AC6D2D #2DAC6D
tetradic
#6D2DAC #AC2D2D #6CAC2D #2DACAC
square
#6D2DAC #AC2D2D #6CAC2D #2DACAC
split-complementary
#6D2DAC #ACAC2D #2DAC2D
monochromatic
#30144B #4E207B #6D2DAC #8C47CF #AA78DC

Accessibility & contrast

On white

8.01
#6D2DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6D2DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2DAC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2DAC#FFFFFF#000000##FFFFFF
##6D2DAC1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#604D6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2dac;
/* rgb */ color: rgb(109, 45, 172);
/* oklch */ color: oklch(45.6% 0.190 302.3);
Tailwind
colors: {
  custom: {
    50: '#9c6cc6',
    500: '#6d2dac',
    950: '#000000',
  },
}
SCSS
$custom: #6d2dac;
$custom-light: #9c6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2dac",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 270.236,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.19032,
    "h": 302.3
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#6D2DAC
secondary
#9AC471
accent
#E24693
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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