#6D2CAD#6D2CAD

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

Color values

HEX#6D2CAD
RGBrgb(109, 44, 173)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 75%, 68%)
CMYKcmyk(37%, 74.6%, 0%, 32.2%)
CIE-LABlab(34.13, 52.61, -57.18)
CIE-LCHlch(34.13, 77.70, 312.62°)
OKLaboklab(45.58% 0.1023 -0.1631)
OKLCHoklch(45.58% 0.193 302.1)
XYZxyz(14.7484, 8.0697, 40.3077)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CAD #6CAD2C
analogous
#2D2CAD #6D2CAD #AD2CAC
triadic
#6D2CAD #AD6D2C #2CAD6D
tetradic
#6D2CAD #AD2D2C #6CAD2C #2CACAD
square
#6D2CAD #AD2D2C #6CAD2C #2CACAD
split-complementary
#6D2CAD #ACAD2C #2CAD2D
monochromatic
#30134B #4E207C #6D2CAD #8C46D0 #AA77DC

Accessibility & contrast

On white

8.03
#6D2CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D2CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CAD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CAD#FFFFFF#000000##FFFFFF
##6D2CAD1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#5F4C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2cad;
/* rgb */ color: rgb(109, 44, 173);
/* oklch */ color: oklch(45.6% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cc6',
    500: '#6d2cad',
    950: '#000000',
  },
}
SCSS
$custom: #6d2cad;
$custom-light: #9d6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2cad",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 270.233,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.1925,
    "h": 302.1
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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